Export to GitHub

pyicqt - issue #122

Allow tcp bind from distinct IP addresses


Posted on Dec 15, 2007 by Grumpy Rabbit

Posted by hzf9vv at 2007-03-16 13:03:58

in src/legacy/icqt.py, change this line:

                    return c.connectTCP(server, port)

to this:

                    return c.connectTCP(server, port, timeout=30,

bindAddress=(config.mainServer,0))

This allows multiple instances of the transport to bind to distinct IP addresses, thus mitigating the risk of having so many connections to the ICQ servers from the same IP address.

Status: Accepted

Labels:
Type-Enhancement Priority-Medium