|
-
June 23rd, 2006, 05:26 PM
#1
CAsynchSocket::Receive max value ?
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 ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|