cURL / Mailing Lists / curl-library / Single Mail

curl-library

Need help regarding multi_socket(i.e. multi) interface

From: smruti kumari <smrutikumari777_at_gmail.com>
Date: Wed, 11 May 2016 13:03:32 +0530

Hi All,

I am using multi_socket(i.e. multi interface) to transfer the data for my
project. I am using epoll to get the read/write event for the socket.

By calling the curl_multi_socket_action() API, we can send/recv the
data.But The application needs to collect the received data from the write
function callback.Am I right ?

I have few doubt mention below

1. How can we come to know that the complete packet sent/received by the
curl during data transfer ?
2. How can we add the http body using curl before sending the data ?

Thanks,
Smruti

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-11