![]() |
• Network Manager | ||
|
API Links
Developer Links
|
NetworkMgr::SetMaxConnectionCountDefined in:
Sets the maximum number of connections that the Network Manager will allow at one time.
C4Network.hPrototype
Parameters
Description
The number passed to the SetMaxConnectionCount function 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 given by the max parameter, then connections initiated remotely are denied, but connections initiated locally are still possible.The Message Manager automatically calls SetMaxConnectionCount from within the MessageMgr::BeginMultiplayerGame function. The maximum number of connections set by the Message Manager is one less than the maximum number of players set by the MessageMgr::SetMaxPlayerCount function.
See Also
|