Change Buffer size with winsock control?How 
Author Message
 Change Buffer size with winsock control?How

Hi,
How can I change the send and receive buffer size of a winsock control with
a udp protocol?
The default size appears to be only 8192 bytes and I would like to work with
buffer of 30000bytes

Here is the piece of code:

Private Sub udpPeerB_DataArrival(ByVal bytesTotal As Long)

    Dim strData As String
    udpPeerB.GetData strData
    txtReceive.Text = strData
    txtRemotePort.Text = udpPeerB.RemotePort

End Sub

I know that the maximun size for a paquet in udp is 64ko,
Any ideas are welcome

Thanks
Eric
--
Remove "NOSPAM" from email address to answer me



Sun, 31 Oct 2004 21:02:31 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Change Buffer size with winsock control? How

2. Winsock buffer size?

3. Winsock receive buffer size

4. Winsock receive buffer size

5. Need HELP changing BUFFER size in MS-Dos

6. Changing Sockets Buffer Size

7. Changing Sockets Buffer Size

8. Adjust size and position of controls under the change of the Form size

9. Adjust size and position of controls under the change of the Form size

10. winsock control: buffer flushing?

11. Buffering and Blocking with MS Winsock control.

12. winsock control: buffer flushing?

 

 
Powered by phpBB® Forum Software