[Twisted-Python] shut down only half the connection?

Greg greg at digitalinfo.net
Sat Oct 4 15:54:42 EDT 2003


Using internet.protocol Protocol, is it is possible to close only the writing 
half of a connection, like would be done with "shutdown(1)" using the Python 
Socket module? transport.loseConnection() seems to close down the connection 
alltogether, at which point Protocol.dataReceived() never gets called. 
Thanks. 





More information about the Twisted-Python mailing list