[Twisted-Python] LineOnlyReceiver does not notice when connection's failing
30 Jun
2006
30 Jun
'06
5:25 a.m.
Hi all, I've got a twisted application that uses a LineOnlyReceiver as its protocol. All connections between clients and my server are open ended so I have to be sure they are working correctly. However, when I disrupt the network connection between a client and the server, the server happily keeps writing to the connection while the client closes its part and re-connects again. I am using sendLine to send the data but have also tried transport.write and transport.writeSomeData but with these no data is being sent at all! So, anyone knows what I have to do to get signalled when writing to a connection fails? Any help would be very welcome. Thanks, chris
6706
Age (days ago)
6706
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Schneider