Hi, I am using CAsynchSocket derived class to send and receive data.

sendResult = socket.Send( charBuffer, bufferLength );

receiveResult = socket.Receive( charBuffer, bufferLength );

Everything works fine until bufferLength exceeds a value of 8760 bytes ( or chars ). In such scenario, say sending buffer 12000 chars, sendResult = 12000, but receiveResult = 8760. Below this value ( 8760 bytes), sendResult and receiveResult are always equal. Both client and server run on the same machine.

Has anyone encountered similar problem ?