Fixes for win32 key handling.

This commit is contained in:
crs
2002-05-04 18:08:22 +00:00
parent f3c70dc300
commit 4d11079095
4 changed files with 187 additions and 71 deletions

View File

@@ -135,9 +135,11 @@ void CTCPSocket::init()
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*)