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

# noDelay(_:)

Disable Nagle’s algorithm.

## Declaration

```swift
func noDelay(_ noDelay: Bool) -> TCP
```

## Parameters

- `noDelay`: True to disable Nagle’s algorithm, false otherwise.

## Discussion

Discussion A boolean indicating that TCP should disable Nagle’s algorithm (TCP_NODELAY).
