
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.