summaryrefslogtreecommitdiff
path: root/src/ip.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-28 09:20:38 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-03-28 09:20:38 +0200
commit9c7e081f51063b6cdb4674f4d2e6c4eab502a327 (patch)
tree25c46150eee45e6ad327b2e5e92fd8802fff72a5 /src/ip.hpp
parente440e55d45a571c221af9c1657a2006597a6b88f (diff)
XS_KEEPALIVE options added
This option allows to turn on TCP keepalives on the underlying connections. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ip.hpp')
-rw-r--r--src/ip.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ip.hpp b/src/ip.hpp
index fabe953..9487303 100644
--- a/src/ip.hpp
+++ b/src/ip.hpp
@@ -31,7 +31,7 @@ namespace xs
fd_t open_socket (int domain_, int type_, int protocol_);
// Tunes the supplied TCP socket for the best latency.
- void tune_tcp_socket (fd_t s_);
+ void tune_tcp_socket (fd_t s_, bool keeaplive_);
// Sets the socket into non-blocking mode.
void unblock_socket (fd_t s_);