From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 16 14:37:52 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C395616A41A for ; Sun, 16 Dec 2007 14:37:52 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 54E5E13C459 for ; Sun, 16 Dec 2007 14:37:51 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J3ucb-0004vt-TF for freebsd-hackers@freebsd.org; Sun, 16 Dec 2007 14:37:37 +0000 Received: from 89-172-51-229.adsl.net.t-com.hr ([89.172.51.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Dec 2007 14:37:37 +0000 Received: from ivoras by 89-172-51-229.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Dec 2007 14:37:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 16 Dec 2007 15:37:23 +0100 Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2E0F0E5C0112D1EFF27F061B" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-51-229.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) X-Enigmail-Version: 0.95.5 Sender: news Subject: Behaviour of send() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 14:37:52 -0000 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--