Date: Sat, 11 May 2002 04:31:59 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Lance Bland <lbland@vvi.com> Cc: questions@FreeBSD.ORG Subject: Re: send vs write, recv vs read on socket? Message-ID: <20020511013159.GA9063@hades.hell.gr> In-Reply-To: <CD79A00C-634C-11D6-9558-0030659A531A@vvi.com> References: <CD79A00C-634C-11D6-9558-0030659A531A@vvi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-05-09 09:00, Lance Bland wrote: > hi fellow FreeBSDers- > > On FreeBSD, what is the main difference(s) between send vs write on > a socket and recv vs read on a socket? > > Besides the added argument flag at the end, and if that flag is zero. There are various functions to send data down a socket. All of them are essentially wrappers to the sendmsg() syscall. They are explained in detail in Richard W. Stevens' book "TCP/IP Illustrated, volume 2". And there's always the source :) Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020511013159.GA9063>