threads check socket

Marcus Wanner marcusw at cox.net
Fri Jul 31 13:22:24 EDT 2009


On 7/31/2009 12:35 PM, NighterNet wrote:
> I been trying to find a way to check the socket is open or not. The
> thread are in a group and loop if the sockets are open. If they are
> not open delete the thread and remove the group. I need on this.
Being a bit more specific would help.

Are you using tcp or udp? Is it a local socket or a remote one? What is 
controlling the socket? Define "open".

Marcus



More information about the Python-list mailing list