All pastes #931828 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-07 11:24 UTC
rendered paste body
Index: include/sockets/TcpSocket.h
===================================================================
--- include/sockets/TcpSocket.h	(revision 5378)
+++ include/sockets/TcpSocket.h	(working copy)
@@ -39,7 +39,11 @@
 #include <string.h>
 
 #define TCP_BUFSIZE_READ 16400
-#define TCP_OUTPUT_CAPACITY 1024000
+#define TCP_OUTPUT_CAPACITY 0xFFFF // 2^16
+//#define TCP_OUTPUT_CAPACITY 1024000
+//Rognar
+//1024000 bytes - it's too large output buffer for mangos's purposes.
+//it was so large for WSAEWOULDBLOCK functionality
 
 
 #ifdef SOCKETS_NAMESPACE