@Override public void close() throws IOException { // We always close the outermost streams-- in this case, 'in' and 'out' // Closing either one of these will also close the Socket. try { in.close(); } finally { out.close(); } }
@Override public void close() throws IOException { // We always close the outermost streams-- in this case, 'in' and 'out' // Closing either one of these will also close the Socket. try { in.close(); } finally { out.close(); } }
@Override public void close() throws IOException { // We always close the outermost streams-- in this case, 'in' and 'out' // Closing either one of these will also close the Socket. try { in.close(); } finally { out.close(); } }