Beispiel #1
0
 public virtual void PacketReceive(IPEndPoint ep, byte[] data, int length)
 {
     RUDPLogger.Trace("RECV <- {0}: {1}", ep, Encoding.ASCII.GetString(data, 0, length));
 }
Beispiel #2
0
 public virtual int PacketSending(IPEndPoint endPoint, byte[] data, int length)
 {
     RUDPLogger.Trace("SEND -> {0}: {1}", endPoint, Encoding.ASCII.GetString(data, 0, length));
     return(-1);
 }