Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2007 15:37:23 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Behaviour of send()
Message-ID:  <fk3d7a$p1p$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2E0F0E5C0112D1EFF27F061B
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 <=3D N, even i=
f
the socket is in "blocking" mode?


--------------enig2E0F0E5C0112D1EFF27F061B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZTgqldnAQVacBcgRAuCnAJ4si2hWcke0anDoPsrRZX50MHgEcACeOlMI
UXv9ZqctLI53iZpW5X//CE8=
=eefa
-----END PGP SIGNATURE-----

--------------enig2E0F0E5C0112D1EFF27F061B--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fk3d7a$p1p$1>