Пример #1
0
 public void disconnect()
 {
     if (sender != null)
     {
         sender.Disconnect();
         sender = null;
     }
     if (reciver != null)
     {
         reciver.dissconnect();
         reciver = null;
     }
 }
Пример #2
0
 public Packets(string ip_address, Int16 port)
 {
     sender = new Send(ip_address, port);
 }