WINSOCK REFRESH CHANNEL
Checks all channels for new data or errors. Channels that are in listen mode, will have connection requestions pending if a following call of WINSOCK CHANNEL DATA WAITING() results to 1. Otherwise WINSOCK CHANNEL DATA WAITING() = 1 means that there is data to be received by you using WINSOCK RECV MESSAGE. Of course you should immediatly check for errors that might have occurred after the refresh call, before continuing using the channels, as it might crash your application. If you want to perform a refresh on all your channels, use WINSOCK REFRESH CHANNELS instead of looping through all channels and use WINSOCK REFRESH CHANNEL.
It is much more faster, because it will check for up to 64 channels at once. Of course you will need to traverse your channels afterwards to check for data or errors.

SYNTAX
WINSOCK REFRESH CHANNELS

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2