[Twisted-Python] Agent and "Cannot assign requested address"

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Mar 10 11:16:21 EST 2011

On Mar 10, 2011, at 5:31 AM, akira wrote:

> Reusing a local port via SO_REUSEADDR or better yet reusing a tcp
> connection via HTTP keep-alive aren't available with twisted as I
> understand it.

Reusing a local connection-oriented port with SO_REUSEADDR is potentially a bad idea; there's a reason that your TCP stack gives you this error.  That option is practically only for listening ports.

Keep-alive is a work in progress, previously mentioned in this thread: <http://twistedmatrix.com/trac/ticket/3420>.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110310/0b9d477a/attachment.htm 

More information about the Twisted-Python mailing list