Returns the host name when available or the IP address in string representation.
Domain socket address returns null
.
Returns the host IP address when available or null
as a String.
Domain socket address returns null
.
Returns the host name when available or null
Domain socket address returns null
.
Create a domain socket address from a path
.
Create an inet socket address, host
must be non null
and port
must be between 0
and 65536
.
The host
string can be a host name or a host address.
No name resolution will be attempted.
Create a inet socket address from a Java .
No name resolution will be attempted.
Create an inet socket address that binds to a shared random port identified by id
.
The host
string can be a host name or a host address.
No name resolution will be attempted.
Generated using TypeDoc
The address of a socket, an inet socket address or a domain socket address.
Use {@link SocketAddress#inetSocketAddress} to create an inet socket address and {@link SocketAddress#domainSocketAddress} to create a domain socket address