Berkeley description: A request to send data was
disallowed because the socket had already been shut down with a previous
WinSock description: Same as Berkeley. By calling shutdown() you do a partial close of a socket, which means you have
discontinued sending. The WinSock implementation will not allow you to
send after this.
TCP/IP scenario: Calling
with how=1 or how=2 sends a TCP FIN packet to the remote address, which
literally means "I'm done sending." If the local host sent any
more data after that point, it would be in clear violation of the TCP
specification (RFCs 793 and 1122).