Hey guys and gals,
I am trying to get this to work
System.out.println("Please enter what SOCKET NUMBER you" +
"wish to connect to");
int sockname = Integer.parseInt(inFromUser.nextLine());
System.out.println("Please enter what HOSTNAME you" +
"wish to connect to");
String hostname = inFromUser.nextLine();
The problem is that I can't get hostname to equal whatever the user input. I thought it had to do with hasNext or a variant of that, but I'm not sure. Any thoughts?