Socket error codes. More...
#include <errno.h>
Defines | |
Socket error codes definitions | |
#define | EINPROGRESS (-10036) |
An API function is called while another blocking function is in progress. | |
#define | ENOTSOCK (-10038) |
The socket identifier is not valid. | |
#define | EDESTADDRREQ (-10039) |
The destination address required. | |
#define | EPROTONOSUPPORT (-10043) |
Protocol is not supported. | |
#define | ESOCKTNOSUPPORT (-10044) |
Socket type is not supported. | |
#define | EPFNOSUPPORT (-10046) |
Protocol family is not supported. | |
#define | EAFNOSUPPORT (-10047) |
Address family is not supported. | |
#define | EADDRINUSE (-10048) |
Address is already in use. | |
#define | ENOTCONN (-10057) |
The socket is not connected or bound. | |
#define | TRY_AGAIN (-11002) |
The requested operation was not performed. | |
#define | NO_DATA (-11004) |
No data. |
Socket error codes.
Based on BSD.