On 01/10/13 09:05, David Stainton wrote:
I just now realized that my fileno() method was incorrect. It now returns the descriptor instead of the python socket: return self.socket.fileno() I add the socket to the reactor in the constructor like this: reactor.addWriter(self)
Oops sorry didn't see that.
BTW is that OK? Or is it better to add it to the reactor outside of the constructor?
I guess... it's not something most people do. _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python