try{ do{ message=(String) input.readLine(); System.out.println(message); }while(!message.equals("Disconnect")); }catch (IOException e) { System.out.println(e.getMessage()); }
do{ try{ message=(String) input.readLine(); System.out.println(message); }catch (IOException e) { System.out.println(e.getMessage()); } }while(!message.equals("Disconnect"));
try
catch
readLine
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)