[PATCH] fhandler_socket::recvmsg [WAS: Anyone interested in checking out dgram socket problem (Conrad you still here?)]
Tue Nov 5 02:19:00 GMT 2002
On Tue, 5 Nov 2002, Christopher Faylor wrote:
> There is a thread in cygwin at cygwin entitled:
> "1.3.13-2 & 1.3.14-1 problem on read() from dgram socket"
> Is anyone willing to debug the problem and, if it is a cygwin problem,
> provide a fix?
It seems that the fromlen in WSARecvFrom must be NULL if from is NULL and
not a pointer to 0.
Actually msg->msg_name is NULL and msg->msg_namelen is 0 which will result
2002-11-05 Thomas Pfaff <email@example.com>
* fhandler_socket.cc (fhandler_socket::recvmsg): If from == NULL
call WSARecvFrom with fromlen = NULL.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches