[Twisted-Python] delivering application

Yun Mao maoy at cis.upenn.edu
Thu Oct 23 22:47:31 EDT 2003

> That's bad. It's not a terribly good practice. If you have useful patches,
> it's probably better to send them to us so we can integrate them. Better
> for us, since we have a better Twisted, and better for you, since you
> don't have to maintain and forward-port your changes. In some cases,

What I did is add a bind to interface support to the connectTCP method.  
Do you feel it's useful?

For example, 
reactor.connectTCP ( self.remotehost, self.remoteport, 
                            sfactory, self.timeout, None, self.interface)
where self.interface='eth1'

This only works on Linux..

> you might be fixing something that doesn't need fixing -- and then we'll
> be able to show you a better way. Better for us, because we have a better
> feeling of what needs more documentation, and better for you, since your
> code is better.

More information about the Twisted-Python mailing list