cURL / Mailing Lists / curl-library / Single Mail


multi_socket_action example

From: Jonathon <>
Date: Wed, 19 Oct 2011 12:55:17 -0700


I'd like to use curl_multi_socket_action
( to allow me to
monitor sockets so I can determine whether the connections are done
sending data asynchronously.

Does anyone have an example on how I can use this?

Ideally, I'd like the example to register the a callbacks for all my
connections using curl_setop(...), then show how the callback is
invoked when data is received, as well as show how I can determine
when the connection has been closed and all data is received.

List admin:
Received on 2011-10-19