Understanding socket TCP/IP error codes

ISPF returns a TCP/IP error code in the "network data" portion of ISPF messages indicating a TCP/IP communication failure. The TCP/IP error codes returned for failing socket calls are documented in z/OS V2R2.0 Communications Server: IP Sockets Application Programming Interface Guide and Reference.