在文档中?例如,对于connect(),请参阅:
% man connect
...
ECONNREFUSED
No-one listening on the remote address.
EISCONN
The socket is already connected.
ENETUNREACH
Network is unreachable.
Run Code Online (Sandbox Code Playgroud)