aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nng.h b/src/nng.h
index 1075b95a..16596fa6 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -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
}