Jajcus/pyxmpp2 — pull request #75 by lilydjwg (2012-12-07 11:05:52+00:00)
Title: error when connecting, just try next address

This can happen when DNS returns multiple IPs (e.g. IPv6 and IPv4 ones),
and connecting with the first one fails (e.g. server isn't listen on IPv6).

I've tested this on localhost with prosody listens only on IPv4.