This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author GeorgeY
Recipients GeorgeY, martin.panter
Date 2016-10-15.01:58:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476496729.05.0.92191875347.issue28447@psf.upfronthosting.co.za>
In-reply-to
Content
I have changed my Username, thanks martin.

" But it sounds like you may be closing the socket in one thread, and trying to use it in another thread"
-- I do not attempt to "close" it in main thread. Main only detect the connection failure and report the socket object to the sub thread. sub thread tries to identify the socket object (retrieve the IP address) before closing it.

The question is - once the TCP connection is broken (e.g. client's program get a crash), how can I get to know the original address of that connection? 

It seems like once someone(socket) dies, I am not allowed to know the name(address)!
History
Date User Action Args
2016-10-15 01:58:49GeorgeYsetrecipients: + GeorgeY, martin.panter
2016-10-15 01:58:49GeorgeYsetmessageid: <1476496729.05.0.92191875347.issue28447@psf.upfronthosting.co.za>
2016-10-15 01:58:49GeorgeYlinkissue28447 messages
2016-10-15 01:58:48GeorgeYcreate