Socket Error Code List

The following is a list of the error codes used with the current library implementation. Additional error codes may be used in future library releases.

SOC_DHCP_STATE_BOUND The host IP address has been configured.
SOC_DHCP_STATE_REQUESTING The host IP address has not been configured.
SOC_EAFNOSUPPORT Address family not supported.
SOC_EALREADY Starting the connection process.
SOC_EINPROGRESS Connection is not completed yet.
SOC_EINVAL Invalid processing.
SOC_EISCONN The socket is already connected.
SOC_EMFILE Cannot create any more socket descriptors.
SOC_EMSGSIZE The size is too large to be sent.
SOC_ENETRESET Socket library is not initialized.
SOC_ENOBUFS Insufficient resources.
SOC_ENOMEM Insufficient memory.
SOC_ENOTCONN Not connected.
SOC_ETIMEDOUT Timeout.
SOC_EWOULDBLOCK Cannot execute until the requested operation is blocked.
SOC_IP_ERR_DHCP_TIMEOUT DHCP server not found.
SOC_IP_ERR_LINK_DOWN There is a broken link.

See Also

Revision History

09/13/2005 Initial version.