recvfrom / sendto patch

Corinna Vinschen cygwin-patches@cygwin.com
Mon Aug 12 03:00:00 GMT 2002


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.



More information about the Cygwin-patches mailing list