NetworkClientEvent()

Syntax

Result = NetworkClientEvent(Connection)
Description
Checks if an event happened on a network connection created with OpenNetworkConnection().

Parameters

Connection The connection to check.

Return value

Returns one of the following values:
  #PB_NetworkEvent_None      : Nothing has happened
  #PB_NetworkEvent_Data      : Raw data has been received (to be read with ReceiveNetworkData())
  #PB_NetworkEvent_Disconnect: The client has been disconnected (connection closed).

See Also

ReceiveNetworkData(), NetworkServerEvent()

Supported OS

All

<- MakeIPAddress() - Network Index - NetworkServerEvent() ->