ReceiveNetworkData()
Syntax
Result = ReceiveNetworkData(Connection, *DataBuffer, DataBufferLength)Description
Receive a raw data from the specified client. This command can be used by both client and server applications.
On server side 'Connection' is the client which has send the data (ClientID can be easily obtained by EventClient()).
On client side, 'Connection' is returned by OpenNetworkConnection().
The data is read into the specified *DataBuffer. A memory area can be created using AllocateMemory().
The 'Result' returns the number of byte effectively read. If 'Result' is equal to DataBufferLength, then more data is available to be read.
Supported OS
All