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