Behaviour of send()

Ivan Voras ivoras at freebsd.org
Sun Dec 16 06:37:52 PST 2007


Hi,

If the SO_SNDBUF option is set on a TCP socket with some size N, and
assuming nothing is queued for sending yet, is it safe to assume send()
won't block while attempting to send a block whose size is <= N, even if
the socket is in "blocking" mode?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20071216/ad74fbc1/signature.pgp


More information about the freebsd-hackers mailing list