Commit a3045b4e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- mention curl_multi_socket_action() rather than the deprecated

  curl_multi_socket()
- don't claim that it has an argument named 'easy' because it doesn't!
parent b0685b35
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -14,10 +14,9 @@ An application using the libcurl multi interface should call
actions \- at most \- before proceeding.

Proceeding means either doing the socket-style timeout action: call the
\fBcurl_multi_socket(3)\fP function with the \fBsockfd\fP argument set to
CURL_SOCKET_TIMEOUT and the \fBeasy\fP argument set to CURL_EASY_TIMEOUT, or
simply calling \fBcurl_multi_perform(3)\fP if you're using the simpler and
older multi interface approach.
\fBcurl_multi_socket_action(3)\fP function with the \fBsockfd\fP argument set
to CURL_SOCKET_TIMEOUT, or call \fBcurl_multi_perform(3)\fP if you're using
the simpler and older multi interface approach.

The timeout value returned in the long \fBtimeout\fP points to, is in number
of milliseconds at this very moment. If 0, it means you should proceed