curl_easy_send.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

This commit is contained in:
Svyatoslav Mishyn 2015-10-08 19:26:47 +03:00 committed by Daniel Stenberg
parent 2e373f4a6f
commit 08e5fb4465

View File

@ -47,7 +47,7 @@ this option.
You must ensure that the socket is writable before calling You must ensure that the socket is writable before calling
\fIcurl_easy_send(3)\fP, otherwise the call will return \fBCURLE_AGAIN\fP - \fIcurl_easy_send(3)\fP, otherwise the call will return \fBCURLE_AGAIN\fP -
the socket is used in non-blocking mode internally. Use the socket is used in non-blocking mode internally. Use
\fIcurl_easy_getinfo(3)\fP with \fBCURLINFO_LASTSOCKET\fP to obtain the \fIcurl_easy_getinfo(3)\fP with \fBCURLINFO_ACTIVESOCKET(3)\fP to obtain the
socket; use your operating system facilities like \fIselect(2)\fP to check if socket; use your operating system facilities like \fIselect(2)\fP to check if
it can be written to. it can be written to.
.SH AVAILABILITY .SH AVAILABILITY