cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: a curl_multi_fdset() replacement? (TODO-RELEASE #55)

From: <codemstr_at_ptd.net>
Date: Mon, 31 Jan 2005 23:11:47 -0000

> select() is fine except for two problems:
Select also wastes memory. An fd_set is usually implemented as including an
array of FD_SETSIZE entries. Therefore, if FD_SETSIZE is 1024, even if I'm
only using select() to deal with a single socket, it's still allocating
enough memory to hold 1024. Poll solves this by using a dynamically allocated
storage.

-- codemastr
Received on 2005-02-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET