WINSOCK BUFFER OVERFLOW

You can use this command to check whether the internal buffer used to retrieve the channel data has been filled up, and there is still data remaining.
With TCP, the remaining data is still available to be received with a second call (read the buffer first, because it overwrites it). With UDP however, all other data is lost. But this can only happen when a hacker sends you a UDP datagramm packet that is larger than the receive buffer used.
So you probably would not bother and want to disconnect that channel anyways.

If you repeatedly get buffer overflows on a TCP channel, then this means that your program is too slow in receiving and processing the data.
Normally TCP does manage this automatically (google for 'TCP flow control'), but you can help it by telling your partner to send less data, or by disconnecting the channel...


SYNTAX
Return Integer=WINSOCK BUFFER OVERFLOW(open_channel as Dword)

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2