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

Jp Calderone exarkun at intarweb.us
Sat Oct 4 17:13:48 MDT 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?

  Jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: </pipermail/twisted-python/attachments/20031004/b30f77ab/attachment.sig>


More information about the Twisted-Python mailing list