static void SetNetworkTopology( NetworkTopology::Mode eSelectedTopology );
Name | Description | |
---|---|---|
eSelectedTopology | Network topology established for the P2P session. This parameter takes Peer2Peer , ClientServer , or Hybrid . |
Defines the network topology type established by NetZ
.
Use this function before creating a NetZ
facade object to establish a NetZ
network topology using the selected topology type.
The default network topology is a typical P2P network where all stations participating in the session can connect directly to each other. You can use this command to specify that NetZ should establish a server-client network. The session master in a server-client network can send game messages to all participating clients. For hybrid networks, communications between stations that cannot connect directly with each other go through the session master based on the P2P network.
CONFIDENTIAL