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

Justin Venus justin.venus at gmail.com
Thu Jul 5 00:35:27 EDT 2012


Can you share the code so we can see the problem for ourselves?

Justin Venus
On Jul 4, 2012 10:54 PM, "Peng Xiao -X (penxiao - Digital China at Cisco)" <
penxiao at cisco.com> wrote:

>  ** **
>
> 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(肖鹏)****
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120704/16b47343/attachment.htm 


More information about the Twisted-Python mailing list