From 1adefe3879b211a47a784f477d56a9416ae72254 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 12 Dec 2016 03:42:26 -0800 Subject: New inproc transport. Lots of supporting changes. --- src/nng.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nng.h') 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 } -- cgit v1.2.3-70-g09d2