avahi-browse -a
可以查看局域网内所有的mdns服务,
avahi-browse -r _xxxxx._tcp
使用avahi 的mdns服务发现server
原文:http://www.cnblogs.com/pinganzi/p/6439282.html