C4 Engine
C4 Engine API Documentation

NetworkMgr::GetMaxConnectionCount

Defined in:  C4Network.h
Returns the maximum number of connections that the Network Manager will allow at one time.
Prototype

int32 GetMaxConnectionCount(voidconst;

Description
The number returned by GetMaxConnectionCount represents the limit on the number of connections that the Network Manager will accept from remote machines. This limit has no effect on the ability to make outgoing connections. If the total number of connections equals or exceeds the maximum number set by the NetworkMgr::SetMaxConnectionCount function, then connections initiated remotely are denied, but connections initiated locally are still possible.
See Also

NetworkMgr::SetMaxConnectionCount

NetworkMgr::GetConnectionCount

MessageMgr::GetMaxPlayerCount

MessageMgr::SetMaxPlayerCount