Facepunch.Steamworks Wiki




static ConnectionManager ConnectNormal( Data.NetAddress address, IConnectionManager iface )
Connect to a socket created via CreateListenSocketIP
static T ConnectRelay( SteamId serverId, int virtualport = 0 )
static SocketManager CreateNormalSocket( Data.NetAddress address, ISocketManager intrface )
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 )