Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
libcurl-multi(3) | Library Functions Manual | libcurl-multi(3) |
NAME
libcurl-multi - how to use the multi interfaceDESCRIPTION
This is an overview on how to use the libcurl multi interface in your C programs. There are specific man pages for each function mentioned in here. There is also the libcurl-tutorial(3) man page for a complete tutorial to programming with libcurl and the libcurl-easy(3) man page for an overview of the libcurl easy interface.OBJECTIVES
The multi interface offers several abilities that the easy interface does not. They are mainly:ONE MULTI HANDLE MANY EASY HANDLES
To use the multi interface, you must first create a 'multi handle' with curl_multi_init(3). This handle is then used as input to all further curl_multi_* functions.MULTI_SOCKET
curl_multi_socket_action(3) function offers a way for applications to not only avoid being forced to use select(), but it also offers a much more high-performance API that makes a significant difference for applications using large numbers of simultaneous connections.BLOCKING
A few areas in the code are still using blocking code, even when used from the multi interface. While we certainly want and intend for these to get fixed in the future, you should be aware of the following current restrictions:- Name resolves unless the c-ares or threaded-resolver backends are used
- file:// transfers
- TELNET transfers
SEE ALSO
libcurl(3), libcurl-easy(3), libcurl-errors(3)2024-11-21 | libcurl |