예제 #1
0
 public virtual void PacketReceive(IPEndPoint ep, byte[] data, int length)
 {
     RUDPLogger.Trace("RECV <- {0}: {1}", ep, Encoding.ASCII.GetString(data, 0, length));
 }
예제 #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);
 }