Facepunch.Steamworks Wiki

Steamworks.SteamNetworkingSockets

Events

Methods

Connect to a socket created via CreateListenSocketIP
static T ConnectRelay( SteamId serverId, int virtualport = 0 )
Creates a "server" socket that listens for clients to connect to by calling Connect, over ordinary UDP (IPv4 or IPv6). To use this you should pass a class that inherits ISocketManager. You can use SocketManager to get connections and send messages, but the ISocketManager class will received all the appropriate callbacks.
static T CreateRelaySocket( int virtualport = 0 )