Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int read(byte b[], int off, int length) throws IOException {
- int n;
- // EOF already encountered
- if (eof) {
- return -1;
- }
- // connection reset
- if (impl.isConnectionReset()) {
- throw new SocketException("Connection reset");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement