40,6 → 40,10 |
|
#include <errno.h> |
|
/** @name Socket error codes definitions |
*/ |
/*@{*/ |
|
////#define EINTR (-10004) |
////#define EBADF (-10009) |
//#define EACCES (-10013) |
47,23 → 51,41 |
////#define EINVAL (-10022) |
////#define EMFILE (-10024) |
//#define EWOULDBLOCK (-10035) |
/** If any API function is called while a blocking function is in progress. |
/* If any API function is called while a blocking function is in progress. |
*/ |
//#define EINPROGRESS (-10036) |
//#define EALREADY (-10037) |
|
/** The socket identifier is not valid. |
*/ |
#define ENOTSOCK (-10038) |
//#define EDESTADDRREQ (-10039) |
//#define EMSGSIZE (-10040) |
//#define EPROTOTYPE (-10041) |
//#define ENOPROTOOPT (-10042) |
|
/** Protocol is not supported. |
*/ |
#define EPROTONOSUPPORT (-10043) |
|
/** Socket type is not supported. |
*/ |
#define ESOCKTNOSUPPORT (-10044) |
//#define EOPNOTSUPP (-10045) |
|
/** Protocol family is not supported. |
*/ |
#define EPFNOSUPPORT (-10046) |
|
/** Address family is not supported. |
*/ |
#define EAFNOSUPPORT (-10047) |
|
/** Address is already in use. |
*/ |
#define EADDRINUSE (-10048) |
//#define EADDRNOTAVAIL (-10049) |
/** May be reported at any time if the implementation detects an underlying failure. |
/* May be reported at any time if the implementation detects an underlying failure. |
*/ |
//#define ENETDOWN (-10050) |
//#define ENETUNREACH (-10051) |
72,6 → 94,9 |
//#define ECONNRESET (-10054) |
//#define ENOBUFS (-10055) |
//#define EISCONN (-10056) |
|
/** The socket is not connected or bound. |
*/ |
#define ENOTCONN (-10057) |
//#define ESHUTDOWN (-10058) |
//#define ETOOMANYREFS (-10059) |
84,8 → 109,12 |
//#define HOST_NOT_FOUND (-11001) |
//#define TRY_AGAIN (-11002) |
//#define NO_RECOVERY (-11003) |
/** No data. |
*/ |
#define NO_DATA (-11004) |
|
/*@}*/ |
|
#endif |
|
/** @} |