(address this)
Returns the raw IP address of this InetAddress object as a Clojure vector.
Returns the raw IP address of this InetAddress object as a Clojure vector.
(all-by-name host)
Given the name of a host, returns an Clojure vector of its IP address objects, based on the configured name service on the system.
Given the name of a host, returns an Clojure vector of its IP address objects, based on the configured name service on the system.
(any-local-address? this)
Utility routine to check if the InetAddress in a wildcard address.
Utility routine to check if the InetAddress in a wildcard address.
(by-address addr)
(by-address host addr)
Returns an InetAddress
.
In the arity-1 case, an object is given a vector of octets representing a 'raw' IP address. In the arity-2 case, an object is given based on the provided host name and a 'raw' IP address.
Note: expected type of addr
is a byte array, e.g.:
(by-address [127 0 0 1])
or
(by-address "localhost" [127 0 0 1])
Returns an `InetAddress`. In the arity-1 case, an object is given a vector of octets representing a 'raw' IP address. In the arity-2 case, an object is given based on the provided host name and a 'raw' IP address. Note: expected type of `addr` is a byte array, e.g.: ```clj (by-address [127 0 0 1]) ``` or ```clj (by-address "localhost" [127 0 0 1]) ```
(by-name host)
Determines the IP address of a host, given the host's name.
Determines the IP address of a host, given the host's name.
(canonical-hostname this)
Gets the fully qualified domain name for this IP address.
Gets the fully qualified domain name for this IP address.
(host-address this)
Returns the IP address string in textual presentation.
Returns the IP address string in textual presentation.
(hostname this)
Gets the host name for this IP address.
Gets the host name for this IP address.
(link-local-address? this)
Utility routine to check if the InetAddress is an link local address.
Utility routine to check if the InetAddress is an link local address.
(localhost)
Returns the address of the local host.
Returns the address of the local host.
(loopback)
Returns the loopback address.
Returns the loopback address.
(loopback-address? this)
Utility routine to check if the InetAddress is a loopback address.
Utility routine to check if the InetAddress is a loopback address.
(mc-global? this)
Utility routine to check if the multicast address has global scope.
Utility routine to check if the multicast address has global scope.
(mc-link-local? this)
Utility routine to check if the multicast address has link scope.
Utility routine to check if the multicast address has link scope.
(mc-node-local? this)
Utility routine to check if the multicast address has node scope.
Utility routine to check if the multicast address has node scope.
(mc-org-local? this)
Utility routine to check if the multicast address has organization scope.
Utility routine to check if the multicast address has organization scope.
(mc-site-local? this)
Utility routine to check if the multicast address has site scope.
Utility routine to check if the multicast address has site scope.
(multicast-address? this)
Utility routine to check if the InetAddress is an IP multicast address.
Utility routine to check if the InetAddress is an IP multicast address.
(reachable? this timeout)
(reachable? this net-iface ttl timeout)
Test whether that address is reachable. The units of timeout
is
milliseconds.
Test whether that address is reachable. The units of `timeout` is milliseconds.
(site-local-address? this)
Utility routine to check if the InetAddress is a site local address.
Utility routine to check if the InetAddress is a site local address.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close