public TaskManager(string serverName, int port)
 {
     networkAdapter = new TMNetworkAdapter(serverName, port);
 }
 public TaskManager(IPAddress serverIp, int port)
 {
     networkAdapter = new TMNetworkAdapter(serverIp, port);
 }