Skip to content

Commit

Permalink
curl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
Browse files Browse the repository at this point in the history
Closes #479
  • Loading branch information
Svyatoslav Mishyn authored and bagder committed Oct 8, 2015
1 parent 08e5fb4 commit d30ad55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/libcurl/curl_easy_recv.3
Expand Up @@ -49,7 +49,7 @@ this option.
You must ensure that the socket has data to read before calling
\fIcurl_easy_recv(3)\fP, otherwise the call will return \fBCURLE_AGAIN\fP -
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
it has any data you can read.
.SH AVAILABILITY
Expand Down

0 comments on commit d30ad55

Please sign in to comment.