Winsock receive buffer size 
Author Message
 Winsock receive buffer size

On 29 Sep 1997 14:23:16 GMT, "Robert W. Steele (MOS)"

Quote:

>Is there some hidden property for setting the receive buffer size for the
>Winsock control??

I don't believe the MS control will let you set the buffer size,
Mabry's does.  But I don't think that's the problem anyway...

Quote:
>I ask because my client app seems to only be able to receive at most 100
>bytes at a time (the server is repeatedly sending the same 170 byte
>packet).

The default winsock buffer size is 8K.   But you need to be aware that
the socket stack may (and often does) transmit your data in packets of
whatever size it chooses upto the buffer size.  Apparently the server
is sending 100 bytes in one packet and 70 in the next.  That's
expected behaviour and you need to handle it.

Zane



Thu, 16 Mar 2000 03:00:00 GMT  
 Winsock receive buffer size

Hello,

Is there some hidden property for setting the receive buffer size for the
Winsock control??

I ask because my client app seems to only be able to receive at most 100
bytes at a time (the server is repeatedly sending the same 170 byte
packet).

MOS



Fri, 17 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Winsock receive buffer size

2. Winsock receive buffer overflow error 10040

3. Change Buffer size with winsock control?How

4. Change Buffer size with winsock control? How

5. Winsock buffer size?

6. Unknown token received, Protocol error in TDS stream, TDS buffer length too large

7. QB45 Receive Buffer

8. Invalid Buffer received from client

9. clipboard buffer size

10. Need HELP changing BUFFER size in MS-Dos

11. How to increase the buffer size of Microsoft ODBC driver for Oracle

12. Problem setting the MSCOMM transmit buffer size.

 

 
Powered by phpBB® Forum Software