|"So you know that the call to connect() did not succeed, because it returned -1. There's a lot of reasons that connect() might fail, and you can examine errno to find out why."
That is what I though I was doing - looking at status and expected 0 and then errno to get some more info.
I think the connect is failing due to remote end not responding in - for now unknown - time, but that is where the "in progress" is somewhat telling me that.
Also the actual response is delayed by this , yet unspecified time.
Interestingly - after first call fails with "in progress..." next call returns immediately with "device busy..".
Question is - which device ?
Must be the local which is busy - doing what ? It did not connect...
Remote ? If it did not "connect" in first place how it can be the remote which is busy?
( At present rebooting local sort of works, and I am working on something faster using code ...)
"Note that perror() will always print "operation now in progress" any time errno == EINPROGRESS"
I don't think there is an easy way to correlate actual message to its symbol.
I am sure I can find the source code , but why ?
In my view that woudl defeat the function of perror - translating the errno # to text without showing the symbols.