Georgey added the comment:

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)!

----------
nosy: +GeorgeY
resolution: not a bug -> remind

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28447>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to