Function: socks-find-services-entry
socks-find-services-entry is a byte-compiled function defined in
socks.el.gz.
Signature
(socks-find-services-entry SERVICE &optional UDP)
Documentation
Return the port # associated with SERVICE.
Source Code
;; Defined in /usr/src/emacs/lisp/net/socks.el.gz
(defun socks-find-services-entry (service &optional udp)
"Return the port # associated with SERVICE."
(if (= (hash-table-count socks-tcp-services) 0)
(socks-parse-services))
(gethash (downcase service)
(if udp socks-udp-services socks-tcp-services)))