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

Jp Calderone exarkun at intarweb.us
Sat Oct 4 19:13:48 EDT 2003

On Sat, Oct 04, 2003 at 03:54:42PM -0400, Greg wrote:
> 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. 

  Out of curiousity, what's your use case?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031004/b30f77ab/attachment.pgp 

More information about the Twisted-Python mailing list