public void StartWise(string clientIP)
 {
     ServerDLL.Server server = new ServerDLL.Server();
     if (LocalPing(clientIP))
     {
         server.Start((int)ServerDLL._ServerType.TCPServer, "1020");
     }
     else
     {
         server.Start((int)ServerDLL._ServerType.SyncFileServer, @"\\risinas\Temp\RDC");
     }
 }
 public void StartDirectly(ServerDLL._ServerType serverType, string port)
 {
     ServerDLL.Server server = new ServerDLL.Server();
     server.Start((int)serverType, port);
 }