ReceiveNetworkData()

Syntax

Result = ReceiveNetworkData(ConnectionID, *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, 'ConnectionID' is the client which has send the data (ClientID can be easely obtained by NetworkClientID()). On client side, 'ConnectionID' is returned by OpenNetworkConnection(). The data is read into the specified *DataBuffer. The 'Result' returns the number of byte effectively read. If 'Result' is equal to DataBufferLength, then more data are to be read.

Supported OS

Windows, AmigaOS, Linux

Network - Index