Actually looking to read: client data(these are devices sending data to server socket, each device sends data on state of change) send to the server socket on TCP port 11111. This program is to run all times and say should pass the received string to a thread for processing. But while reading is = socket.getInputStream() ; while(true) { System.out.println( "" + ...