WINSOCK RECV FLOAT

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

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2