This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: readv/writev patch for sockets
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 4 Sep 2002 11:39:47 +0200
- Subject: Re: readv/writev patch for sockets
- References: <003c01c25350$b10c0800$6132bc3e@BABEL>
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.