COMET Server

Apr 7, 2010 at 5:40 PM

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

Coordinator
Apr 8, 2010 at 5: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 4: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)?

Coordinator
Apr 15, 2010 at 5: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 12: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

Thanks,

Coordinator
Apr 16, 2010 at 6: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 1:46 PM

Sounds good, I'll start experimenting

Thanks,