[Twisted-Python] LineOnlyReceiver does not notice when connection's failing
![](https://secure.gravatar.com/avatar/0884ea4197d016a3d2f067c1f1b66fae.jpg?s=120&d=mm&r=g)
June 30, 2006
6: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
6805
Age (days ago)
6805
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Schneider