How to raise a socket "104 connection reset by peer error"

loial jldunn2000 at gmail.com
Tue May 21 11:26:13 EDT 2013


For testing purposes I want my code to raise a socket "connection reset by peer" error, so that I can test how I handle it, but I am not sure how to raise the error.

Any advice appreciated

  



More information about the Python-list mailing list