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.
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 )