Previous Topic: TCP/IP Error CodesNext Topic: ERRNO Numbers Set by the Socket Program Interface


Return, Errno, and Reason Codes

The return code value returned by a call to the socket program interface can be a binary 0 (call successfully executed) or non-zero (an error occurred). In the latter case, the errno field explains why the function call failed. The situations that occur are described as follows: