cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: question about Curl_send_plain

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Jul 2013 20:00:27 +0200 (CEST)

On Wed, 17 Jul 2013, Amit Pal wrote:

> I browsed the code and came to see that Curl_send_plain internally calls
> swrite(). So I am believing that Curl_send_plain() calls simple send() and
> recv() functions on socket and does not perform any IO multiplexing using
> poll() or select().
>
> Am I right here?

Yes. The multiplexing is done on a higher level than the actual data-sending
system/libc call.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-17