CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Ajax and Design (http://www.codingforums.com/forumdisplay.php?f=55)
-   -   Comet server question (http://www.codingforums.com/showthread.php?t=268684)

shaunthomson 07-24-2012 05:58 PM

Comet server question
 
Gidday

I'm trying to get my head around why comet is better than a basic AJAX long poll (which I tried for the first time today), and have a question, which I will follow up with a second, related question.

1. Is it better because a basic long poll creates a connection between a client and server, and the server can only handle a certain amount of open connections, whereas a comet server is designed to handle many?

2. Does a comet server work in that it 'takes over' the connection after the server initially responds, therefore allowing the initial connection to be closed, while the APE connection stays open?

Thanks for your time and help.


All times are GMT +1. The time now is 06:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.