Remy wrote: 
> outputStream.close() closes the socket itself.

Granted. Since I haven't actually used it, how is 
Socket.shutdownOutput() different from closing down the 
socket? Does it still allow reading from the input stream?

According to the 1.3 Javadocs, shutdownOutput() causes the 
socket to send remaining data, the TCP termination 
sequence, and respond to any further attempts to write data 
with an IOException.

Sixten

Reply via email to