cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: need example of curl_multi_socket_all

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 28 Jul 2007 23:53:30 +0200 (CEST)

On Sat, 28 Jul 2007, Jeff Pohlmeyer wrote:

>>> 5. Setup a "collection" of sockets to supervise when your
>>> socket callback is called.
>
> There is something about step #5 that never quite made sense to me. I assume
> this refers to the "conns" array in curl/hiper/hiper.c, but I don't
> understand why such a "collection" is really required.

I guess what I mean is that the application needs to keep track of what
sockets that libcurl is using so that it can check them for activities (in
step 7), and I put it that way calling it a "collection".

If you can think of a better description for that, please help me!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-07-29