]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/commit
Add support for DNS SRV records
authorJan-Piet Mens <jpmens@gmail.com>
Wed, 13 Nov 2013 10:59:06 +0000 (11:59 +0100)
committerRoger Light <roger@atchoo.org>
Mon, 3 Feb 2014 21:20:21 +0000 (21:20 +0000)
commitf1bbfe45748e00531571a441325017d16c6f153d
tree6cbc08371e84b79482a8f9664bd476e578453649
parent83eea8ff407aa3c3c0cff113e0233bdba53470f7
Add support for DNS SRV records

adds preliminary support for DNS SRV records in a new
function connect_srv(domain=None). If domain is None
a lookup on the domain of the host is attempted. Otherwise
domain is a DNS domain name to query for the SRV records.
change service to IANA-assigned

Signed-off-by: Jan-Piet Mens <jpmens@gmail.com>
examples/sub-srv.py [new file with mode: 0755]
src/paho/mqtt/client.py