Expose Linux' cork functionality which allows us to aggregate TCP data in a
controlled manner. Unfortunately there is no equivalent for Windows.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4781 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/network/TcpSocket.h b/common/network/TcpSocket.h
index f45c2ee..b0bba53 100644
--- a/common/network/TcpSocket.h
+++ b/common/network/TcpSocket.h
@@ -56,6 +56,7 @@
virtual void shutdown();
static bool enableNagles(int sock, bool enable);
+ static bool cork(int sock, bool enable);
static bool isSocket(int sock);
static bool isConnected(int sock);
static int getSockPort(int sock);