public void SendToClient(Packet packet, EndPoint sender) { transport.Send(packet.GetData(), sender); Console.WriteLine("Sendig Data to {0} with {1}", sender, packet.GetData()[0]); }
public bool Send(Packet packet, EndPoint endPoint) { return(serverTransport.Send(packet.GetData(), endPoint)); }
public static bool Send(Packet packet, EndPoint endPoint) { return(transport.Send(packet.GetData(), endPoint)); }