This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: getsockname / recvfrom bug (?)
- From: "Conrad Scott" <Conrad dot Scott at dsl dot pipex dot com>
- To: <cygwin-developers at cygwin dot com>
- Date: Wed, 14 Aug 2002 22:32:20 +0100
- Subject: Re: getsockname / recvfrom bug (?)
- References: <015e01c243ce$8390e3f0$6132bc3e@BABEL>
"Conrad Scott" <Conrad.Scott@dsl.pipex.com> wrote:
> Having changed the socket code to use recvfrom, I've now found
an
> apparent bug whereby recvfrom will fail with WSAEINVAL.
[snip]
> Anyhow the problem occurs if you dup(2) a socket and then
operate
> on the duplicate copy w/o closing the original socket and
without
> forking.
[snip]
As it turns out, it's nothing like that simple, as I've got
another program doing the "same" thing that works fine. It'll
probably turn out to be something unrelated that I've broken in
one of my test programs. Next time I'll try to report back when
I've got something *interesting* to report :-(
// Conrad