summaryrefslogtreecommitdiff
path: root/src/ip.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ip.hpp')
-rw-r--r--src/ip.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ip.hpp b/src/ip.hpp
index 8a690b0..75193a6 100644
--- a/src/ip.hpp
+++ b/src/ip.hpp
@@ -35,10 +35,6 @@
#include <netdb.h>
#endif
-#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
-#include <sys/un.h>
-#endif
-
// Some platforms (notably Darwin/OSX and NetBSD) do not define all AI_
// flags for getaddrinfo(). This can be worked around safely by defining
// these to 0.
@@ -68,6 +64,10 @@ namespace zmq
// Tunes the supplied TCP socket for the best latency.
void tune_tcp_socket (fd_t s_);
+
+ // Sets the socket into non-blocking mode.
+ void unblock_socket (fd_t s_);
+
}
#endif