6465666768697071727374
} // disconnect from server // after 200 tick if (sendCounter > 200) { bsClient.silentDisconnect(); break; } try { Thread.sleep(100);
8586878889909192939495
// our first network packet: nick name String nick = JOptionPane.showInputDialog("Enter Your Nick Name:"); if (nick == null) { // cancel client.silentDisconnect(); System.exit(0); } // send the client nick name try {