MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
curlmultifdset(3)             libcurl Manual             curlmultifdset(3)



NAME
       curlmultifdset  -  extracts  file descriptor information from a multi
       handle

SYNOPSIS
       #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  consider
       using  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.

RETURN VALUE
       CURLMcode  type,  general  libcurl  multi  interface  error  code.  See
       libcurl-errors(3)

SEE ALSO
       curlmulticleanup(3),curlmultiinit(3)



libcurl 7.9.5                     15 Apr 2004              curlmultifdset(3)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™