When I run the client and enter a number it is passed as a string. However it must be passed as an integer. How do I change this? and also change from while(true) to a do while so when the user enters "*" the program ends.
while (true){
System.out.print("Enter a number ");
String message = keyboard.nextLine();
out.writeUTF(message);
}