readv/writev patch for sockets

Corinna Vinschen cygwin-patches@cygwin.com
Wed Sep 4 02:39:00 GMT 2002


On Tue, Sep 03, 2002 at 02:49:14PM +0100, Conrad Scott wrote:
> 2002-09-03  Conrad Scott  <conrad.scott@dsl.pipex.com>
> 
> 	* fhandler.h (fhandler_socket::read): Remove method.
> 	(fhandler_socket::write): Ditto.
> 	(fhandler_socket::readv): New method.
> 	(fhandler_socket::writev): Ditto.
> 	(fhandler_socket::recvmsg): Add new optional argument.
> 	(fhandler_socket::sendmsg): Ditto.
> 	* fhandler.cc (fhandler_socket::read): Remove method.
> 	(fhandler_socket::write): Ditto.
> 	(fhandler_socket::readv): New method.
> 	(fhandler_socket::writev): Ditto.
> 	(fhandler_socket::recvmsg): Use win32's scatter/gather IO where
> 	possible.
> 	(fhandler_socket::sendmsg): Ditto.
> 	* net.cc (cygwin_recvmsg): Check the msghdr's iovec fields.
> 	(cygwin_sendmsg): Ditto.  Add omitted sigframe.

Applied.

Thanks!
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