public boolean conn(String IP, int port) {
      if ("".equals(IP) || port==0) {
        return false;
      }

      threadContent= new TcpThread(IP, port);

      tcpThread=new Thread(threadContent);
      tcpThread.setName("RecieveThread");
      tcpThread.setDaemon(true);

      tcpThread.start();

      return true;
    }