| # | Line 146 | Line 146 | class TCPReaderInit extends Thread { | |
|---|---|---|
| 146 | String inBound = getInBound(); | |
| 147 | // check if it's what we're expecting | |
| 148 | if(!inBound.equals(expected)) { | |
| 149 | < | throw new IOException("protocol error - expected:"+expected+" got:" + inBound); |
| 149 | > | throw new IOException("protocol error from "+_socket.getInetAddress().getHostName()+" - expected:"+expected+" got:" + inBound); |
| 150 | } | |
| 151 | // it should be ok then | |
| 152 | return inBound; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |