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 #PB_NetworkEvent_Connect : A new client has been connected to the server #PB_NetworkEvent_Data : Raw data has been received (to be read with ReceiveNetworkData()) #PB_NetworkEvent_File : A file has been received (to be read with ReceiveNetworkFile()) #PB_NetworkEvent_Disconnect: A client has quit the server (deconnection)
Supported OS
All