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