Classes
Methods
(static) SocketAddress.domainSocketAddress(path) → {SocketAddress}
Create a domain socket address.
Parameters:
| Name | Type | Description |
|---|---|---|
path |
string | the address path |
- Source:
Returns:
the created socket address
- Type
- SocketAddress
(static) SocketAddress.inetSocketAddress(port, host) → {SocketAddress}
Create a inet socket address,
host must be non null and port must be between 0
and 65536.
Parameters:
| Name | Type | Description |
|---|---|---|
port |
number | the address port |
host |
string | the address host |
- Source:
Returns:
the created socket address
- Type
- SocketAddress