(local-host)
returns the current host
(local-host) ;; #object[java.net.Inet4Address 0x4523dee "chapterhouse.local/127.0.0.1"] => java.net.Inet4Address
returns the current host (local-host) ;; #object[java.net.Inet4Address 0x4523dee "chapterhouse.local/127.0.0.1"] => java.net.Inet4Address
(local-hostname)
returns the current host name
(local-hostname) ;; "chapterhouse.local" => string?
returns the current host name (local-hostname) ;; "chapterhouse.local" => string?
(local-ip)
returns the current ip
(local-ip) ;; "127.0.0.1" => string?
returns the current ip (local-ip) ;; "127.0.0.1" => string?
(local-shortname)
returns the current host short name
(local-shortname) ;; "chapterhouse" => string?
returns the current host short name (local-shortname) ;; "chapterhouse" => string?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close