removed setting send buffer to zero size. it just reduced

performance.
This commit is contained in:
crs 2002-05-05 23:37:12 +00:00
parent f8f1fb4041
commit 4968a5bb7c
1 changed files with 0 additions and 6 deletions

View File

@ -134,12 +134,6 @@ void CTCPSocket::init()
// mouse motion messages are much less useful if they're delayed.
CNetwork::TCPNoDelayType flag = 1;
CNetwork::setsockopt(m_fd, SOL_TCP, TCP_NODELAY, &flag, sizeof(flag));
#if !defined(CONFIG_PLATFORM_WIN32)
// don't buffer sends, we merge messages ourself
int data = 0;
CNetwork::setsockopt(m_fd, SOL_SOCKET, SO_SNDBUF, &data, sizeof(data));
#endif
}
void CTCPSocket::ioThread(void*)