curl-library
Re: a curl_multi_fdset() replacement? (TODO-RELEASE #55)
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 31 Jan 2005 08:51:23 +0100 (CET)
Date: Mon, 31 Jan 2005 08:51:23 +0100 (CET)
On Sun, 30 Jan 2005, Ben Greear wrote:
> So, I assume that curl will allocate memory for the curl_socket_t* pointers?
I forgot to mention that, but in this suggestion I imagined that the memory
allocated for this would be "connected" to the multi handle so that the memory
for these arrays would be freed when curl_multi_cleanup() is called. Thus, the
arrays wouldn't have to be malloc()ed and/or realloc()ed on every call to this
function.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-31