new SocketAddress()
The address of a socket, an inet socket address or a domain socket address.
- Source:
Methods
host() → {string}
- Source:
Returns:
the address host or
null for a domain socket
- Type
- string
path() → {string}
- Source:
Returns:
the address path or
null for a inet socket
- Type
- string
port() → {number}
- Source:
Returns:
the address port or
-1 for a domain socket
- Type
- number