NAME
curlmultifdset - extracts file descriptor information from a multi
handleSYNOPSIS
#include
CURLMcode curlmultifdset(CURLM *multihandle, fdset *readfdset, fdset *writefdset, fdset *excfdset, int *maxfd);DESCRIPTION
This function extracts file descriptor information from a given multihandle. libcurl returns its fdset sets. The application can use these to select() on. The curlmultiperform(3) function should be called as soon as one of them are ready to be read from or written to. You should also be aware that when doing select(), you should considerusing a rather small (single-digit number of seconds) timeout and call
curlmultiperform regularly - even if no activity has been seen on the
fdsets - as otherwise libcurl-internal retries and timeouts may not
work as you'd think. RREETTUURRNN VVAALLUUEE CURLMcode type, general libcurl multi interface error code. Seelibcurl-errors(3)
SEE ALSO
ccuurrllmmuullttiicclleeaannuupp(3),ccuurrllmmuullttiiiinniitt(3) libcurl 7.9.5 15 Apr 2004 curlmultifdset(3)