WINSOCK RECV MESSAGE
If a channel has data waiting for you (indicated by WINSOCK CHANNEL DATA WAITING()), then you can use this command to recieve the data. The data will be stored in a data buffer, which you can access by getting a dword pointer as a return value of WINSOCK CHANNEL DATA PTR(). You will also need to get the data length with WINSOCK CHANNEL DATA LEN(), to make sure you do not try to access memory that is out of bounds.

SYNTAX
WINSOCK RECV MESSAGE tcp_channel as Dword

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2