Facepunch.Steamworks Wiki

Revision Difference

SteamNetworkingSockets.ConnectRelay#562013

<member category="interface" type="method" namespace="Steamworks" parent="SteamNetworkingSockets" name="ConnectRelay" static="true"> <args> <arg name="serverId" type="SteamId"></arg> <arg name="virtualport" type="int" default="0"></arg> </args> <return type="T"></return> </member>⤶ <summary>This method should be used to allow people to connect to the server. ⤶ It return a ConnectionManager instance (you need to create a class that inherit from ConnectionManager) that you need to keep in order to send and receive data from server. ⤶ serverID need to be the SteamId from the host.</summary>⤶ </member>