cURL / Mailing Lists / curl-library / Single Mail


Re: COMET Support

From: Alan Wolfe <>
Date: Fri, 18 Mar 2011 08:35:15 -0700


To reinforce what our fearless leader Daniel said, comet as i
understand it (and have implemented it in the past in ajax type
situations) is just the server delaying the response for a time if no
data is currently available so that the client and server can have
more "real time" type communications without the client having to poll
the server so often.

libcurl lets you make a regular http request to a server, and comet
essentially is all a server side implemented thing, so there's nothing
at all stopping you from doing a comet type setup.

On Fri, Mar 18, 2011 at 5:54 AM, Daniel Stenberg <> wrote:
> On Fri, 18 Mar 2011, Chino Aureus wrote:
>> I'm new to curl.  Would like to ask if it's possible to support
>> COMET/async HTTP in curl.
>> I'm trying to build an http client that will connect to a comet server.
> AFAIK, COMET is just HTTP done in a slightly funny way but still plain HTTP
> and libcurl should be able to do it fine. Even if COMET also is a what
> wikipedia calls an "umbrella term" which seems to include a lot of different
> approaches.
> --
>  /
> -------------------------------------------------------------------
> List admin:
> Etiquette:

List admin:
Received on 2011-03-18