[Twisted-Python] raw socket IWriteDescriptor

Marco Giusti marco.giusti at gmail.com
Tue Oct 1 05:19:29 MDT 2013


On Tue, Oct 01, 2013 at 01:05:47AM -0700, David Stainton wrote:
> I add the socket to the reactor in the constructor like this:
> reactor.addWriter(self)
> BTW is that OK? Or is it better to add it to the reactor outside of the
> constructor?

twisted.internet.stdio.StandardIO do that so it is not so bad.




More information about the Twisted-Python mailing list