curl / Mailing Lists / curl-library / Single Mail

curl-library

Asynchronous ordered sends

From: Emir Kamber <kamber_emir_at_hotmail.com>
Date: Tue, 21 Mar 2017 21:57:19 +0000

Hi,

I have successfully implemented async sends via 'multi-functionality', but I have a problem where messages are sent in no particular order. So, when I send 3 messages, I get this on the wire: MSG3, MSG1, MSG2.

I need to send messages in the order that I add them via 'curl_multi_add_handle', so that I get MSG1, MSG2, MSG3 on the wire. In essence I just need to send an X number of messages in sequence as quickly as possible, and then will worry about reading the response from the server.

Any help is appreciated and if anything is unclear please let me know and I will clarify.

Thanks

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-21