[Twisted-Python] Flush socket

Itamar Turner-Trauring itamar at itamarst.org
Thu Aug 11 17:47:09 EDT 2011

> so there is no Twisted sanctioned (reactor independent and reentry safe)
> alternative to disable nagle (tcp nodelay) and doing a select()?

You can disable nagle in Twisted, if that's the question
(transport.setTcpNoDelay(True)). But you can't determine TCP packet size,
that's up to the operating system.

More information about the Twisted-Python mailing list