This project is read-only.

COMET Server

Apr 7, 2010 at 6:40 PM

Is it possible to use this web server as a COMET server? 

Apr 8, 2010 at 6:58 AM

Yes. Change the keep-alive timeout to something large.  


How to do the rest depends on if you are using just the http listener, the webserver or the mvc server.

Apr 13, 2010 at 5:40 PM

What would you recommend?

Say you just want to create a COMET server and already use IIS for serving the site content (minus the .JS files of course)?

Apr 15, 2010 at 6:25 AM

I don't know if IE amongst others allows ajax requests to a different port, since cross domain requests are forbidden.

If ajax requests are allowed to same domain but different port, then running a separate COMET server is possible.

Apr 15, 2010 at 1:54 PM

Ok, so would the HTTP Listener or WebServer model be the recommended approach?


Agreed, there is a problem asking for a .JS file from one server and querying another server - which is why I'm assuming that the COMET server would be serving both .JS files and the COMET functionality (which is fine)

I'm just looking for a hint of WebServer VS HTTP Listener


Apr 16, 2010 at 7:30 AM

Depends on how many different tasks the COMET server should handle. 

A few: Use HttpListener

Many: Use MvcServer easily to get a logic structure.


Apr 16, 2010 at 2:46 PM

Sounds good, I'll start experimenting