# Module: vertx-js/socket_address

### Classes

SocketAddress

### Methods

#### (static) SocketAddress.domainSocketAddress(path) → {SocketAddress}

Create a domain socket address.

##### Parameters:

Name | Type | Description
--- | --- | ---
`path` | string | the address path

Source:
  - vertx-js/socket_address.js, line 121

##### 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:
  - vertx-js/socket_address.js, line 107

##### Returns:

the created socket address

Type
  SocketAddress