[Twisted-Python] How to get the socket error when NIC is down

Peng Xiao -X (penxiao - Digital China at Cisco) penxiao at cisco.com
Wed Jul 4 23:51:35 EDT 2012


Hi experts,

I wrote a TCP program using twisted, and the TCP socket bind the local IP address, the code can reconnect TCP connection when TCP is disconnected.
But the program will be exit without any error when the local NIC is down.
I want to know how can I capture the exception when the local NIC is down?

Thanks a lot.


Best
Regards,

Xiao Peng(肖鹏)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120705/7089dece/attachment.htm 


More information about the Twisted-Python mailing list