WINSOCK RECV DWORD
If a channel has data waiting for you (indicated by WINSOCK CHANNEL DATA WAITING()), then you can use this command to receive a dword (4 bytes) (using LittleEndian Memory representation).
If the connection has been closed, then a value of 0 is returned and WINSOCK CHANNEL ERROR() returns 1. You should always check for this!
SYNTAX
Return Dword=WINSOCK RECV DWORD(tcp_channel as Dword)
RELATED INFO
WINSOCK command menu
Index
EXAMPLE
Showcase-example 1
Showcase-example 2