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

# persistTimeout(_:)

Set the TCP persist timeout.

## Declaration

```swift
func persistTimeout(_ timeout: UInt32) -> TCP
```

## Parameters

- `timeout`: The persist timeout, in seconds.

## Discussion

Discussion The TCP persist timeout, in seconds (PERSIST_TIMEOUT). See RFC 6429.
