From owner-freebsd-hackers Mon Nov 18 09:22:04 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28878 for hackers-outgoing; Mon, 18 Nov 1996 09:22:04 -0800 (PST) Received: from sumatra.americantv.com (sumatra.americantv.com [199.184.181.250]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA28869 for ; Mon, 18 Nov 1996 09:21:58 -0800 (PST) Received: from right.PCS (right.pcs. [148.105.10.31]) by sumatra.americantv.com (8.7.6/8.7.3) with ESMTP id KAA17553; Mon, 18 Nov 1996 10:42:02 -0600 (CST) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id RAA19995; Mon, 18 Nov 1996 17:18:05 GMT Message-Id: <199611181718.RAA19995@right.PCS> Date: Mon, 18 Nov 1996 11:18:05 -0600 From: jlemon@americantv.com (Jonathan Lemon) To: michaelh@cet.co.jp (Michael Hancock) Cc: fenner@parc.xerox.com (Bill Fenner), terry@lambert.org (Terry Lambert), scrappy@ki.net, jdp@polstra.com, hackers@FreeBSD.org Subject: Re: Sockets question... References: <96Nov15.113305pst.177557@crevenia.parc.xerox.com> X-Mailer: Mutt 0.48.1 Mime-Version: 1.0 In-Reply-To: ; from Michael Hancock on Nov 18, 1996 16:02:11 +0900 Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Michael Hancock writes: > On Fri, 15 Nov 1996, Bill Fenner wrote: > > > 4.4BSD introduced the MSG_WAITALL flag, so if you use recv() or any of its > > friends you can ask for your whole request to be performed. This is, of > > course, not portable, and MSG_WAITALL won't even do the trick if your > > request is larger than the socket's high water mark (e.g. SO_RECVBUF). > > > > UnixWare 2.1.1 now supports this, I'll have to check Solaris. Maybe it's > more portable than you think. Sequent PTX/4.1.X also supports MSG_WAITALL. As a matter of fact, the manual pages for socket(2) and recv(2) look nearly identical to FreeBSD. -- Jonathan