summaryrefslogtreecommitdiff
path: root/src/ip.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-07-29 09:37:43 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-07-29 09:37:43 +0200
commitd5f3628ad08849a0c978f7d23dc678133ed33c42 (patch)
treede82260f962d25b4762497af8358bd6182feefb4 /src/ip.hpp
parentf63db009a1e1baf9f1fe7dae39901c7449c66131 (diff)
Different connecters simplified
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
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