diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-06-06 02:34:03 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-06-06 02:34:03 +0000 |
commit | aec493328f4cd1a6d717743c984a153dc120013a (patch) | |
tree | 22ac172cd2a9920b7d33711a25947c5c98e8cef2 /test.cpp | |
parent | e3e0c6c7d2d37b902060ffefc27270675fbf246b (diff) | |
download | cryptopp-aec493328f4cd1a6d717743c984a153dc120013a.tar.gz |
sync with private branch
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@76 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'test.cpp')
-rw-r--r-- | test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -805,6 +805,7 @@ void ForwardTcpPort(const char *sourcePortName, const char *destinationHost, con sockListen.Create(); sockListen.Bind(sourcePort); + setsockopt(sockListen, IPPROTO_TCP, TCP_NODELAY, "\x01", 1); cout << "Listing on port " << sourcePort << ".\n"; sockListen.Listen(); |