Created
January 17, 2013 08:58
-
-
Save gongo/4554676 to your computer and use it in GitHub Desktop.
browse "_airplay._tcp" service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'zeroconf) | |
(zeroconf-init nil) ;; search at .local | |
(dolist (s (zeroconf-list-services "_airplay._tcp")) | |
(message (format "host:%s port:%s" | |
(zeroconf-service-address s) | |
(zeroconf-service-port s)))) | |
;; => host:xxxx::xxxx:xxxx:xxxx:xxxx port:80 | |
;; => host:xxx.xxx.xxx.xxx port:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment