This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: recvfrom / sendto patch
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 12 Aug 2002 12:00:34 +0200
- Subject: Re: recvfrom / sendto patch
- References: <011c01c2413a$949693c0$6132bc3e@BABEL>
On Sun, Aug 11, 2002 at 02:25:36PM +0100, Conrad Scott wrote:
> Again, moving slowly towards my readv/writev patch, here's a
> little patch to simplify the fhandler_socket sendto / recvfrom
> code.
>
> SUSv3 says that recvfrom, recv, and read are all equivalent on
> sockets if no flags or addresses etc. are provided (and ditto for
> sendto, send, and write). So, this patch makes that true, partly
> by removing some methods and making others just delegate to each
> other as appropriate. In detail:
Did you test that? Is that also true for WinSock?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.