Facepunch.Steamworks Wiki

Steamworks.SocketManager

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.

Fields

Properties

ISocketManager Interface { get; set; }

Methods

bool Close()
void OnConnected( Data.Connection connection, Data.ConnectionInfo info )
Client is connected. They move from connecting to Connections
void OnConnecting( Data.Connection connection, Data.ConnectionInfo info )
Default behaviour is to accept every connection
void OnDisconnected( Data.Connection connection, Data.ConnectionInfo info )
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 )

Page Links


Special Pages


Wikis

?

Render Time: 17ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 10
Render Body 0
Render Sidebar 1