Where can I find a list of all types of bsd style socket errors?
In the documentation? For instance, for connect(), see:
% man connect
...
ECONNREFUSED
No-one listening on the remote address.
EISCONN
The socket is already connected.
ENETUNREACH
Network is unreachable.
You can also find a list of error codes (and a general description of their meaning) on the Open Group's pages for each function (like connect, for example).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With