Returns:
Returns name (IP or DNS name).
-1
Returns the port.
the host name (IP or DNS name)
the host port, or -1 if not set