How to raise a socket "104 connection reset by peer error"
15 views
Skip to first unread message
loial
unread,
May 21, 2013, 11:26:13 AM5/21/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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
Andrew Berg
unread,
May 21, 2013, 11:49:31 AM5/21/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to comp.lang.python
On 2013.05.21 10:26, loial wrote:
> 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.