From owner-freebsd-questions Fri Jul 3 22:25:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA12347 for freebsd-questions-outgoing; Fri, 3 Jul 1998 22:25:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.camalott.com (root@mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12338 for ; Fri, 3 Jul 1998 22:25:17 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-152.camalott.com [208.229.74.152]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id AAA18337; Sat, 4 Jul 1998 00:25:22 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id AAA15330; Sat, 4 Jul 1998 00:25:14 -0500 (CDT) (envelope-from joelh) Date: Sat, 4 Jul 1998 00:25:14 -0500 (CDT) Message-Id: <199807040525.AAA15330@detlev.UUCP> To: grog@lemis.com CC: freebsd-questions@FreeBSD.ORG In-reply-to: <19980704141243.B358@freebie.lemis.com> (message from Greg Lehey on Sat, 4 Jul 1998 14:12:43 +0930) Subject: Re: Portability of scatter / gather From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199807040356.WAA14496@detlev.UUCP> <19980704141243.B358@freebie.lemis.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> On all BSD systems, is it the case that an item written with writev >> can be read with read without translation, or does readv have to be >> used? > readv and writev are just ways of transferring the data. After it is > onn the medium, you can't tell how it got there. So yes, you can read > it without translation. (Thanks also to Julian for his quick response.) How about mixing send and read, or write and recv? Are these equivilent on a socket if flags == 0? Thanks, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message