UdpPeer.OnDataReceived Method
Namespace: Riptide.Transports.Udp
Assembly: RiptideNetworking.dll
OnDataReceived(byte[], int, IPEndPoint)
Handles received data.
protected abstract void OnDataReceived(byte[] dataBuffer, int amount, IPEndPoint fromEndPoint)
Parameters
byte[] | dataBuffer |
A byte array containing the received data. |
int | amount |
The number of bytes in |
IPEndPoint | fromEndPoint |
The endpoint from which the data was received. |