This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: [Fwd: Re: exim fclose() warning message (was Re: 1.3.21)]
Corinna Vinschen wrote:
> > 185 94896 [main] sc11 2676 __set_winsock_errno: fixup_before_fork_exec:328 - winsock error 10022 -> errno 22
>
> Invalid argument?!? Why invalid argument?
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/windows_sockets_error_codes_2.asp>
Invalid argument.
Some invalid argument was supplied (for example, specifying an invalid level
to the setsockopt function). In some instances, it also refers to the current
state of the socket?for instance, calling accept on a socket that is not listening.
It's probably the "state of the socket" clause, probably due to something
inherited.
Pierre