So basically, i have a PrintWriter and BufferedReader object for each socket. But when I want to go and get user input from telnet client I am getting a null pointer exception. I pass in the writer and reader objects. But should I be passing in the socket into my methods and then creating these streams using the socket object, and then close those streams when the method is done?
any help or comments
thanks
any help or comments
thanks