CoC_DisconnectTime

 

RESOURCE: CoC_DisconnectTime:Integer

PURPOSE: The CoC_DisconnectTime is an optional parameter given in seconds which determines the time in seconds to wait for a clients network activity before flagging it as disconnected.  Once a client is flagged as disconnected its message queue will be emptied and the messages failed functions will not be called unless the messages were flagged with "NO_DISC".

FUNCTION: Default value is 240 seconds.

The parameter can be changed from a default value in the CoC_Server add-on initialization line (if the mission designer uses the Add-on version of the Network Services) or the change is made in the start of init.sqs (in case the script version of the Network Services are used).

 

EXAMPLE: CoC_DisconnectTime = 60;

HISTORY: CoC bn880 14/11/2003; revised 30/05/2004

DEPENDENCIES: CoC_LIBNUMSYS, CoC_LIBNETWORK