CoC_PortNumber

 

RESOURCE: CoC_PortNumber:Integer

PURPOSE: The CoC_PortNumber is an optional parameter which determines the number of ports each client and server that is listening for a connection.  Since version 1.2 this value is determined dynamically by the NS based on the number of active clients in a particular mission run.

FUNCTION: Default port number is dynamic thus a change is not recommended.

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_PortNumber = 3;

HISTORY: CoC bn880 02/06/2003; revised 14/11/2003

DEPENDENCIES: CoC_LIBNUMSYS, CoC_LIBNETWORK