Why would connect() give intermittent EINVAL on port to FreeBSD?
I have in my C++ application a failure that arose upon porting to 32 bit FreeBSD 8.1 from 32 bit Linux. I have a TCP socket connection which fails to connect. In the call to connect(), I got an error result with errno == EINVAL which the man page for connect() does not cover. What does this error mean, which argument is invalid? The m...