[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-man
Subject:    Re: Documentation in man 2 send about blocking
From:       Florian Weimer <fw () deneb ! enyo ! de>
Date:       2018-06-24 20:22:04
Message-ID: 87in68540j.fsf () mid ! deneb ! enyo ! de
[Download RAW message or body]

* Li-yao Xia:

> In nonblocking mode, the man page says that send() "would fail" if the 
> message is long, and then I might interpret the "Return value" paragraph 
> to imply that it returns -1. However a simple test in that case shows 
> that send() returns the number of bytes sent, which is certainly a 
> sensible thing to do, pragmatically.

I think this depends on the type of the socket.  Which type did you
use?
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic