diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-07-03 17:18:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-07-03 17:18:36 +0200 |
commit | 304e24e2113d2a98d7a6fe851b2fc0a20ab0f1c9 (patch) | |
tree | db534aa2ba5a42a3400ea6fc2492b4d7175df642 /docs | |
parent | 6fb0ed88d64622f198b5da9bac20e4efd4d1d9ef (diff) |
docs: clarify how to start with curl_multi_socket_action
Mention the CURL_SOCKET_TIMEOUT argument in step 6 of the typical
application.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/curl_multi_socket_action.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/curl_multi_socket_action.3 b/docs/libcurl/curl_multi_socket_action.3 index f93e914da..ac3b176c7 100644 --- a/docs/libcurl/curl_multi_socket_action.3 +++ b/docs/libcurl/curl_multi_socket_action.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2012, 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 @@ -132,8 +132,8 @@ timeout value to use when waiting for socket activities. them for activity. This can be done through your application code, or by way of an external library such as libevent or glib. -6. Call curl_multi_socket_action() to kickstart everything. To get one or more -callbacks called. +6. Call curl_multi_socket_action(...CURL_SOCKET_TIMEOUT...) to kickstart +everything. To get one or more callbacks called. 7. Wait for activity on any of libcurl's sockets, use the timeout value your callback has been told |