Function: bindat-ip-to-string
bindat-ip-to-string is a byte-compiled function defined in
bindat.el.gz.
Signature
(bindat-ip-to-string IP)
Documentation
Format vector IP as an ip address in dotted notation.
The port (if any) is omitted. IP can be a string, as well.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/bindat.el.gz
(defun bindat-ip-to-string (ip)
"Format vector IP as an ip address in dotted notation.
The port (if any) is omitted. IP can be a string, as well."
(if (vectorp ip)
(format-network-address ip t)
(format "%d.%d.%d.%d"
(aref ip 0) (aref ip 1) (aref ip 2) (aref ip 3))))