Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-24-2012, 05:58 PM   PM User | #1
shaunthomson
New Coder

 
Join Date: May 2012
Posts: 89
Thanks: 51
Thanked 0 Times in 0 Posts
shaunthomson is an unknown quantity at this point
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.
shaunthomson is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:31 AM.


Advertisement
Log in to turn off these ads.