diff options
Diffstat (limited to 'cpp/lib/common/sys/Socket.h')
-rw-r--r-- | cpp/lib/common/sys/Socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/lib/common/sys/Socket.h b/cpp/lib/common/sys/Socket.h index d793a240c6..b5f74847c2 100644 --- a/cpp/lib/common/sys/Socket.h +++ b/cpp/lib/common/sys/Socket.h @@ -47,6 +47,7 @@ class Socket /** Set timeout for read and write */ void setTimeout(Time interval); + void setTcpNoDelay(bool on); void connect(const std::string& host, int port); |