Version: 5.3

NetworkTransport.ConnectAsNetworkHost

매뉴얼로 전환
public static void ConnectAsNetworkHost (int hostId, string address, int port, Networking.Types.NetworkID network, Networking.Types.SourceID source, Networking.Types.NodeID node, out byte error);

파라미터

hostId Id of udp socket used to establish connection.
address Ip4.
port Port.
network Guid of relay network.
source Guid of user.
error Possible error (NetworkError.Ok if success).
node Slot id for this user.

설명

Create dedicated connection to relay server.

Client calls this function to set itself as an owner of the network group on the relay server. This client should call ReceiveRelayEventFromHost periodically to be notified about connection/disconnection events to/from Relay server.