Help with fixing x2x...
Conrad Scott
Conrad.Scott@dsl.pipex.com
Wed Jul 24 16:15:00 GMT 2002
"Thomas Chadwick" <j_tetazoo@hotmail.com> wrote:
> After doing this, select is still non-blocking, returning -1,
and the value
> returned by WSAGetLastError() is 10038, which seems to
correspond to the
> #define WSAENOTSOCK in winsock.h.
>
> Any idea what this error code means and what steps I might take
to fix it?
It would be (perhaps more) instructive to print out errno (rather
than the WSA errno) since errno is what select(2) sets.
As a matter of interest (since I'm currently fiddling around with
some similar code), are the two file descriptors UNIX domain
sockets?
HTH
// Conrad
More information about the Cygwin-xfree
mailing list