[Twisted-Python] Don't Finalize Connection
23 Jul
2013
23 Jul
'13
2:15 a.m.
Hi, i am fairly new to twisted and try to work my way trough the documentation. There is a problem I can't find a solution for. Maybe somebody can give me a hint or point me into the right direction. I am trying to create a TCP server. The client connects to the server, then the server will send multiple commands and binary data to the client. After the data has been send, the connection should stay open. I subclass "Protocol" to create my protocol. It seems that after i send data with self.transport.write(data) the last packet will be send with the "FP." flag, what seems to "Finalize" the connection from this end. Is there a way to force twisted to just "Push" my data, but not to "Finalize" the connection? Thanks. Thomas
3922
Age (days ago)
3922
Last active (days ago)
3 comments
3 participants
participants (3)
-
Laurens Van Houtven
-
Phil Mayers
-
Thomas Hommers