IsNetworkActive

Description

Checks that the network is active, in the case of joining a network this will return 0 if the connection failed or for some reason the connection to the server broke. For a hoster this function will return 0 if it failed to listen on the specified port for clients, otherwise it will forever return 1 as it will not stop managing any connected clients, even if everyone disconnects.

Definition

integer IsNetworkActive( iNetID )

Parameters