TcpServer.OnDataReceived Method
Namespace: Riptide.Transports.Tcp
Assembly: RiptideNetworking.dll
OnDataReceived(int, TcpConnection)
Handles received data.
protected override void OnDataReceived(int amount, TcpConnection fromConnection)
Parameters
int | amount |
The number of bytes that were received. |
TcpConnection | fromConnection |
The connection from which the data was received. |