NetworkServerEvent()

Syntax

Result = NetworkServerEvent()
Description
Returns 0 if no information (or data) has been received on the server port, otherwise there is some data which should be processed.

The returned value indicates what has actually happened:
  0 : Nothing has happened
  1 : A new client has been connected to the server
  2 : Raw data has been received (to be read with ReceiveNetworkData())
  3 : A file has been received (to be read with ReceiveNetworkFile())
  4 : A client has quit the server (deconnection)

Supported OS

All

<- NetworkClientID() - Network Index - NextIPAddress() ->