---
title: "ackStretchingDisabled(_:)"
framework: network
role: symbol
role_heading: Instance Method
path: "network/tcp/ackstretchingdisabled(_:)"
---

# ackStretchingDisabled(_:)

Disable ACK stretching.

## Declaration

```swift
func ackStretchingDisabled(_ disableAckStretching: Bool) -> TCP
```

## Parameters

- `disableAckStretching`: True to disable ACK stretching, false otherwise.

## Discussion

Discussion A boolean to cause TCP to disable ACK stretching (TCP_SENDMOREACKS).
