diff options
author | Elliott Hughes <enh@google.com> | 2018-08-03 14:37:21 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-08-03 14:37:21 -0700 |
commit | 72d948d9a2b7be19b761bd3c69ae851a2708f36c (patch) | |
tree | b099486ec60f2b93bb10d5b4c4f08d1f5ea63c02 /docs/libcurl/curl_multi_socket.3 | |
parent | fedb562bb5945f38ff423cca9d8ed6b80e74bf8e (diff) | |
download | external_curl-72d948d9a2b7be19b761bd3c69ae851a2708f36c.tar.gz external_curl-72d948d9a2b7be19b761bd3c69ae851a2708f36c.tar.bz2 external_curl-72d948d9a2b7be19b761bd3c69ae851a2708f36c.zip |
Update to curl 7.61.0 - July 11 2018.
Bug: N/A
Test: builds, boots, `vendor/google/tools/fake-ota on streaming` works
Change-Id: I9ae854de01fd5854f3a9e9a1b8443755fe8a22b4
Diffstat (limited to 'docs/libcurl/curl_multi_socket.3')
-rw-r--r-- | docs/libcurl/curl_multi_socket.3 | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/docs/libcurl/curl_multi_socket.3 b/docs/libcurl/curl_multi_socket.3 index 0625d388..b918f1bc 100644 --- a/docs/libcurl/curl_multi_socket.3 +++ b/docs/libcurl/curl_multi_socket.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -19,7 +19,7 @@ .\" * KIND, either express or implied. .\" * .\" ************************************************************************** -.TH curl_multi_socket 3 "December 15, 2016" "libcurl 7.60.0" "libcurl Manual" +.TH curl_multi_socket 3 "June 30, 2018" "libcurl 7.61.0" "libcurl Manual" .SH NAME curl_multi_socket \- reads/writes available data @@ -46,12 +46,13 @@ which easy handle that completed. The \fIcurl_multi_socket_action(3)\fP functions inform the application about updates in the socket (file descriptor) status by doing none, one, or multiple -calls to the socket callback function set with the CURLMOPT_SOCKETFUNCTION -option to \fIcurl_multi_setopt(3)\fP. They update the status with changes -since the previous time the callback was called. +calls to the socket callback function set with the +\fICURLMOPT_SOCKETFUNCTION(3)\fP option to \fIcurl_multi_setopt(3)\fP. They +update the status with changes since the previous time the callback was +called. -Get the timeout time by setting the \fICURLMOPT_TIMERFUNCTION\fP option with -\fIcurl_multi_setopt(3)\fP. Your application will then get called with +Get the timeout time by setting the \fICURLMOPT_TIMERFUNCTION(3)\fP option +with \fIcurl_multi_setopt(3)\fP. Your application will then get called with information on how long to wait for socket actions at most before doing the timeout action: call the \fIcurl_multi_socket_action(3)\fP function with the \fBsockfd\fP argument set to CURL_SOCKET_TIMEOUT. You can also use the @@ -108,7 +109,7 @@ service to applications that want to keep certain data or structs that are strictly associated to the given socket. The \fIuserp\fP argument is a private pointer you have previously set with -\fIcurl_multi_setopt(3)\fP and the CURLMOPT_SOCKETDATA option. +\fIcurl_multi_setopt(3)\fP and the \fICURLMOPT_SOCKETDATA(3)\fP option. .SH "RETURN VALUE" CURLMcode type, general libcurl multi interface error code. @@ -128,10 +129,10 @@ return OK. .SH "TYPICAL USAGE" 1. Create a multi handle -2. Set the socket callback with CURLMOPT_SOCKETFUNCTION +2. Set the socket callback with \fICURLMOPT_SOCKETFUNCTION(3)\fP -3. Set the timeout callback with CURLMOPT_TIMERFUNCTION, to get to know what -timeout value to use when waiting for socket activities. +3. Set the timeout callback with \fICURLMOPT_TIMERFUNCTION(3)\fP, to get to +know what timeout value to use when waiting for socket activities. 4. Add easy handles with curl_multi_add_handle() |