curl-library
Re: Wait for a response using curl_multi_wait
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 22 Mar 2018 16:16:05 +0100 (CET)
Date: Thu, 22 Mar 2018 16:16:05 +0100 (CET)
On Wed, 21 Mar 2018, Richard Copley wrote:
> Probably a stupid question, but in the example I was talking about, where
> does the socket returned by connect() fit in? After the first SYN packet has
> been sent, and before the SYN/ACK arrives, can't curl wait on that socket?
Yes it can and it does. The typical no-socket gap in time is before that
socket is created, when libcurl resolves a host name in a separate thread.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-03-22