Facepunch.Steamworks Wiki


Used as a base to create your networking server. This creates a socket and listens/communicates with multiple queries.

You can override all the virtual functions to turn it into what you want it to do.



ISocketManager Interface { get; set; }


bool Close()
Client is connected. They move from connecting to Connections
Default behaviour is to accept every connection
The connection has been closed remotely or disconnected locally. Check data.State for details.
void OnMessage( Data.Connection connection, Data.NetIdentity identity, System.IntPtr data, int size, System.Int64 messageNum, System.Int64 recvTime, int channel )
void Receive( int bufferSize = 32 )