Help : How can I set the size of receive or send buffer of vbwinsock control which is fixed '8K byte'? 
Author Message
 Help : How can I set the size of receive or send buffer of vbwinsock control which is fixed '8K byte'?

If you are trying to "send" data larger than that, I would suggest that your
"receive" code not rely on a specific transfer size since TCP/IP is
stream-based. I would create a block "header" that tells your receive code
how many bytes your message/data is and just keep reading until it is
completely read.

--
Monte Hansen
http://www.*-*-*.com/


Quote:
> Hi, I recently found that the maximum send and receive buffer size of
> winsock control is 8KB.

> How can I change the size of receive or send buffer of vbwinsock control
> which is fixed '8K byte'?

> I think it can be done by calling api procedure. If possible can you show
me
> some real code?

> Thank you for reading this.



Sun, 23 Mar 2003 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Help : How can I set the size of receive or send buffer of vbwinsock control which is fixed '8K byte'?

2. Winsock receive buffer size

3. Winsock receive buffer size

4. Problem setting the MSCOMM transmit buffer size.

5. MCI Wav Recording - Set Buffer Size/Location?

6. how to set the fax for receive and send

7. Change Buffer size with winsock control?How

8. Change Buffer size with winsock control? How

9. Receiving notification on Send, Receive and Delete

10. Need HELP changing BUFFER size in MS-Dos

11. Send/Receive using VB using View Control Object

12. Can mscomm control send /receive extended ASCII?

 

 
Powered by phpBB® Forum Software