NetworkServerEvent()

Syntax

Result = NetworkServerEvent()

Description

Return 0 if no informations (or data) have been recieved on the server port, else there are some which should be processed. The returned value indicates which has actually happened
  0 : Nothing has happened 
  1 : A new client has been connected to the server 
  2 : Raw data has been recieved (to be read with ReceiveNetworkData()) 
  3 : A file has been recieved (to be read with ReceiveNetworkFile()) 
  4 : A client has quit the server (deconnection) 

Supported OS

Windows, AmigaOS, Linux

Network - Index