From 9c7e081f51063b6cdb4674f4d2e6c4eab502a327 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 28 Mar 2012 09:20:38 +0200 Subject: XS_KEEPALIVE options added This option allows to turn on TCP keepalives on the underlying connections. Signed-off-by: Martin Sustrik --- src/ip.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ip.hpp') 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_); -- cgit v1.2.3