Function: zeroconf-get-service
zeroconf-get-service is a byte-compiled function defined in
zeroconf.el.gz.
Signature
(zeroconf-get-service NAME TYPE)
Documentation
Return the service description of service NAME as list.
NAME must be a string. The service must be of service type TYPE. The resulting list has the format
(INTERFACE PROTOCOL NAME TYPE DOMAIN FLAGS).
Source Code
;; Defined in /usr/src/emacs/lisp/net/zeroconf.el.gz
(defun zeroconf-get-service (name type)
"Return the service description of service NAME as list.
NAME must be a string. The service must be of service type
TYPE. The resulting list has the format
(INTERFACE PROTOCOL NAME TYPE DOMAIN FLAGS)."
;; Due to the service browser, all known services are kept in
;; `zeroconf-services-hash'.
(gethash (concat name "/" type) zeroconf-services-hash))