Ejemplo n.º 1
0
 // connect to the server
 public void connect(string ip, int port)
 {
     if (telnetClient.getTcp() == 1)
     {
         // make the connection.
         this.telnetClient.connect(ip, port);
     }
     else
     {
         ErrorString = " Error at connection - the server is closed!";
     }
 }