]> kaliko git repositories - python-musicpd.git/commit
mpd.py: loop over addresses returned by getaddrinfo to connect to
authorJ. Alexander Treuman <jat@spatialrift.net>
Sun, 23 Mar 2008 20:47:06 +0000 (16:47 -0400)
committerJ. Alexander Treuman <jat@spatialrift.net>
Sun, 23 Mar 2008 20:47:06 +0000 (16:47 -0400)
commit3bbc456dc51c95e8ad5bb4e270d781ed370bfe27
tree4af60083e5923dce6b78dfc14fa94105ca2284a5
parentbc5752e76919f918aa73b5c9dac2d218b1021e73
mpd.py: loop over addresses returned by getaddrinfo to connect to

This allows us to support IPv6 and multi-homed hostnames.  getaddrinfo is
called with the same flags as libmpdclient uses, making address resolution
consistent between the two.
mpd.py