Index: include/sockets/TcpSocket.h =================================================================== --- include/sockets/TcpSocket.h (revision 5378) +++ include/sockets/TcpSocket.h (working copy) @@ -39,7 +39,11 @@ #include #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