diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-07-29 09:37:43 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-07-29 09:37:43 +0200 |
commit | d5f3628ad08849a0c978f7d23dc678133ed33c42 (patch) | |
tree | de82260f962d25b4762497af8358bd6182feefb4 /src/ip.hpp | |
parent | f63db009a1e1baf9f1fe7dae39901c7449c66131 (diff) |
Different connecters simplified
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ip.hpp')
-rw-r--r-- | src/ip.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |