This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recvfrom / sendto patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]