---
title: "localEndpointReuseAllowed(_:)"
framework: network
role: symbol
role_heading: Instance Method
path: "network/nwparametersprovider/localendpointreuseallowed(_:)"
---

# localEndpointReuseAllowed(_:)

Allow local endpoint reuse.

## Declaration

```swift
func localEndpointReuseAllowed(_ allowed: Bool) -> Self
```

## Parameters

- `allowed`: True if allowed, false otherwise.

## Discussion

Discussion Allow multiple connections to use the same local address and port (SO_REUSEADDR and SO_REUSEPORT).
