Version: 5.5
public static void ListenRelay (string relayIp, int relayPort, Networking.Types.NetworkID netGuid, Networking.Types.SourceID sourceId, Networking.Types.NodeID nodeId);

Parameters

relayIp Relay server IP Address.
relayPort Relay server port.
netGuid GUID of the network to create.
sourceId This server's sourceId.
nodeId The node to join the network with.

Description

Starts a server using a Relay server. This is the manual way of using the Relay server, as the regular NetworkServer.Connect() will automatically use the Relay server if a match exists.