Winsock receive buffer size 
Author Message
 Winsock receive buffer size


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

I ask because I only seem to be able to receive, at most, 100 bytes at a
time in my client app, even though the server is continuously sending the
same 170 byte message over and over again.


Fri, 17 Mar 2000 03:00:00 GMT  
 Winsock receive buffer size


To control the validation of the data with the control winsock you should use
the event DataArrival.

For example:
Deprive you Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
 Do while....
                    Winsock1.SendData InputData & vbCrLf ' Send
                    While bDataOk
sub end

Deprive you Sub Winsock1_SendComplete ()
    bDataOk = False
Sub End


Sat, 18 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