This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: recvfrom + MSG_PEEK = broken?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 22 Mar 2010 12:03:52 +0100
- Subject: Re: recvfrom + MSG_PEEK = broken?
- References: <4BA7085D.3050307@cwilson.fastmail.fm>
- Reply-to: cygwin at cygwin dot com
On Mar 22 02:04, Charles Wilson wrote:
> I've been tracking down a problem in xinetd. It appears to be an issue
> with using MSG_PEEK in recvfrom() on UDP sockets.
Yes, that's a bug in Cygwin. The socket event handling got messed up
when MSG_PEEK was used. I fixed that in CVS so it will be in 1.7.2.
The last time I had problems with MSG_PEEK was back in 2006. Curious
how seldomly it's used, apparently.
Thanks for the simple testcase! It was very helpful to track down
the problem easily.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple