Reading inputstream on socket

I'm having a problem with reading data that is sent to me. I have a wifi module that is reading inverted ASCII character data from a serial device, and then sending that data to my PC. I'm very new to using the socket and serversocket classes, and after some investigation, set the following program up. I can successfully connect to the wifi module, but I want to be able to print out the data that is being sent to my PC from the module. I tried doing this at first with

in = new BufferedReader(new inputStreamReader(skt.getInputStream()));

and then System.out.print(in), but this returns undecipherable results, like:

19821f

I then tried casting to a string and a character array (as seen below), but then the program would get stuck and not continue after connecting.

I suspect that it is some sort of simple character formatting problem. Any ideas?