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

Greg greg at digitalinfo.net
Sat Oct 4 13:54:42 MDT 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