I am running test for a network program which uses TCP sockets. To verify a bug fix, I need to reproduce a \"Broken pipe\" error at the socket layer, but I don\'t know how. Any
'Broken pipe' means that you have written to a connection that has already been closed by the peer. So, have the peer close the connection.