Exemple #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]);
 }
Exemple #2
0
 public bool Send(Packet packet, EndPoint endPoint)
 {
     return(serverTransport.Send(packet.GetData(), endPoint));
 }
Exemple #3
0
 public static bool Send(Packet packet, EndPoint endPoint)
 {
     return(transport.Send(packet.GetData(), endPoint));
 }