[@wago/wdx-schema](../README.md) / [Exports](../modules.md) / [WDX](../modules/WDX.md) / [Schema](../modules/WDX.Schema.md) / [Model](../modules/WDX.Schema.Model.md) / [Instance](../modules/WDX.Schema.Model.Instance.md) / TCPOptionsServer

# Class: TCPOptionsServer

[Model](../modules/WDX.Schema.Model.md).[Instance](../modules/WDX.Schema.Model.Instance.md).TCPOptionsServer

## Table of contents

### Constructors

- [constructor](WDX.Schema.Model.Instance.TCPOptionsServer.md#constructor)

### Properties

- [allowHalfOpen](WDX.Schema.Model.Instance.TCPOptionsServer.md#allowhalfopen)
- [highWaterMark](WDX.Schema.Model.Instance.TCPOptionsServer.md#highwatermark)
- [id](WDX.Schema.Model.Instance.TCPOptionsServer.md#id)
- [keepAlive](WDX.Schema.Model.Instance.TCPOptionsServer.md#keepalive)
- [keepAliveInitialDelay](WDX.Schema.Model.Instance.TCPOptionsServer.md#keepaliveinitialdelay)
- [noDelay](WDX.Schema.Model.Instance.TCPOptionsServer.md#nodelay)
- [pauseOnConnect](WDX.Schema.Model.Instance.TCPOptionsServer.md#pauseonconnect)
- [tcpOptions](WDX.Schema.Model.Instance.TCPOptionsServer.md#tcpoptions)
- [uuid](WDX.Schema.Model.Instance.TCPOptionsServer.md#uuid)

## Constructors

### constructor

• **new TCPOptionsServer**(): [`TCPOptionsServer`](WDX.Schema.Model.Instance.TCPOptionsServer.md)

#### Returns

[`TCPOptionsServer`](WDX.Schema.Model.Instance.TCPOptionsServer.md)

## Properties

### allowHalfOpen

• **allowHalfOpen**: `boolean`

Indicates whether half-opened TCP connections are allowed.

**`Default`**

```ts
false
```

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:31

___

### highWaterMark

• **highWaterMark**: `number`

Optionally overrides all `net.Socket`s' `readableHighWaterMark` and
`writableHighWaterMark`.

**`Default`**

```ts
See
[stream.getDefaultHighWaterMark()](https://nodejs.org/docs/latest-v20.x/api/stream.html#streamgetdefaulthighwatermarkobjectmode).
```

**`Since`**

v18.17.0, v20.1.0

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:86

___

### id

• `Optional` **id**: `number`

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:14

___

### keepAlive

• **keepAlive**: `boolean`

If set to `true`, it enables keep-alive functionality on the socket
immediately after a new incoming connection is received, similarly on what
is done in `socket.setKeepAlive([enable][, initialDelay])`.

**`Default`**

```ts
false
```

**`Since`**

v16.5.0

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:63

___

### keepAliveInitialDelay

• **keepAliveInitialDelay**: `number`

If set to a positive number, it sets the initial delay before the first
keepalive probe is sent on an idle socket.

**`Default`**

```ts
0
```

**`Since`**

v16.5.0

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:74

___

### noDelay

• **noDelay**: `boolean`

If set to `true`, it disables the use of Nagle's algorithm immediately
after a new incoming connection is received.

**`Default`**

```ts
false
```

**`Since`**

v16.5.0

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:51

___

### pauseOnConnect

• **pauseOnConnect**: `boolean`

Indicates whether the socket should be paused on incoming connections.

**`Default`**

```ts
false
```

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:40

___

### tcpOptions

• **tcpOptions**: [`TCPOptions`](WDX.Schema.Model.Instance.TCPOptions.md)

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:95

___

### uuid

• **uuid**: `string`

#### Defined in

src/WDX/Schema/Model/Instance/TCPOptionsServer.ts:20
