No error while sending via TCP Socket

Ben Sizer kylotan at gmail.com
Fri Jun 30 05:28:59 EDT 2006


Martin Bürkle wrote:
> I have writen a programm using TCP sockets. After i get the connection
> to another socket I cut the Ethernet cable. Then I send a message.
> The program doesnt raise any exception. Can somebody tell me why and
> give me a hint how to get an exception

Have you tried waiting 30 seconds or so? The connection may just take a
while to time out.

-- 
Ben Sizer




More information about the Python-list mailing list