]> kaliko git repositories - python-musicpd.git/commitdiff
preliminary unix socket support
authorJ. Alexander Treuman <jat@spatialrift.net>
Sun, 7 Jun 2009 19:39:38 +0000 (15:39 -0400)
committerJ. Alexander Treuman <jat@spatialrift.net>
Sun, 7 Jun 2009 19:39:38 +0000 (15:39 -0400)
If the host passed to connect() starts with a "/", then a connection
attempt is made to the unix socket at the specified path.  The port
argument is currently still required, but will be ignored.  Attempting to
connect to a unix socket on Windows will raise an AttributeError (because
socket.AF_UNIX isn't defined), however this will later be changed.


No differences found