Disables the output stream for this socket. For a TCP socket, any previously written data will be sent followed by TCP's normal connection termination sequence. If you write to a socket output stream after invoking shutdownOutput() on the socket, the stream will throw an IOException.
IOException | if an I/O error occurs when shutting down this socket. |
java.net.Socket.shutdownInput(), java.net.Socket.close(), java.net.Socket.setSoLinger(boolean, int), isOutputShutdown
Diagram: Socket