aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-12 03:42:26 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-12 03:42:26 -0800
commit1adefe3879b211a47a784f477d56a9416ae72254 (patch)
treecf017599969fb109d62981cbef56eeeef4d2b108 /src/nng.h
parent091043a0df9568b18e9bb49b07762b95e3508108 (diff)
downloadnng-1adefe3879b211a47a784f477d56a9416ae72254.tar.gz
nng-1adefe3879b211a47a784f477d56a9416ae72254.tar.bz2
nng-1adefe3879b211a47a784f477d56a9416ae72254.zip
New inproc transport.
Lots of supporting changes.
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nng.h b/src/nng.h
index d398e18c..e20d3543 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -429,6 +429,14 @@ NNG_DECL int nng_device(nng_socket_t, nng_socket_t);
#define NNG_ECONNREFUSED (-6)
#define NNG_ECLOSED (-7)
#define NNG_EAGAIN (-8)
+#define NNG_ENOTSUP (-9)
+#define NNG_EADDRINUSE (-10)
+
+/*
+ * Maximum length of a socket address. This includes the terminating NUL.
+ * This limit is built into other implementations, so do not change it.
+ */
+#define NNG_MAXADDRLEN (128)
#ifdef __cplusplus
}