# IpEndpoint

`import { IpEndpoint } from "destack:net/binding";`

IP socket endpoint.

```ds title="IpEndpoint"
export struct IpEndpoint {
    address: IpAddress;
    port: uint16;
}
```

[language/library/src/net/binding/address.ds:47:52](https://github.com/destack-sh/destack/blob/main/language/library/src/net/binding/address.ds#L47-L52)

## Members

### `address: IpAddress`

Endpoint address.

### `port: uint16`

Endpoint port in host byte order.
