WINSOCK CHANNEL DATA WAITING
If the result is 1, then your channel has data for you. If the channel is in listen mode, then you have pending connection requests that can be accepted via WINSOCK ACCEPT(). Otherwise you need to receive the data. If the data length is 0, then your partner has closed the connection. You need to check this before continueing using your channel, as it might crash your application otherwise.

SYNTAX
Return Integer=WINSOCK CHANNEL DATA WAITING(channel as Dword)

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2