WINSOCK RECV BYTE

If a channel has data waiting for you (indicated by WINSOCK CHANNEL DATA WAITING()), then you can use this command to receive one byte.
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 Byte=WINSOCK RECV BYTE(tcp_channel as Dword)

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2