Creates a socket endpoint with the given port number port and address. The range
for valid port numb
Returns this socket address' port.
Returns this socket address' address.
Returns the hostname, doing a reverse DNS lookup on the InetAddress if no
hostname string was provid
Returns the hostname if known, or the result of InetAddress.getHostAddress.
Unlike #getHostName, thi
Returns a string containing the address (or the hostname for an unresolved
InetSocketAddress) and po
Creates an InetSocketAddress without trying to resolve the hostname into an
InetAddress. The address
Returns whether this socket address is unresolved or not.
Compares two socket endpoints and returns true if they are equal. Two socket
endpoints are equal if