public void disconnect() { if (sender != null) { sender.Disconnect(); sender = null; } if (reciver != null) { reciver.dissconnect(); reciver = null; } }
public Packets(string ip_address, Int16 port) { sender = new Send(ip_address, port); }