# SocketOptionTcpKeepAlive

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

TCP keepalive socket option value.

```ds title="SocketOptionTcpKeepAlive"
export struct SocketOptionTcpKeepAlive {
    kind: "tcpKeepAlive";
    value: TcpKeepAlive;
}
```

[language/library/src/net/binding/options.ds:165:170](https://github.com/destack-sh/destack/blob/main/language/library/src/net/binding/options.ds#L165-L170)

## Members

### `kind: "tcpKeepAlive"`

Option discriminator.

### `value: TcpKeepAlive`

Keepalive settings.
