diff options
Diffstat (limited to 'src/nng.h')
| -rw-r--r-- | src/nng.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -415,9 +415,11 @@ NNG_DECL int nng_device(nng_socket_t, nng_socket_t); * Error codes. These may happen to align to errnos used on your platform, * but do not count on this. */ -#define NNG_ENOMEM (-2) -#define NNG_EINVAL (-3) -#define NNG_EBUSY (-4) +#define NNG_ENOMEM (-2) +#define NNG_EINVAL (-3) +#define NNG_EBUSY (-4) +#define NNG_ETIMEDOUT (-5) +#define NNG_ECONNREFUSED (-6) #ifdef __cplusplus } |
