---
title: "version(_:)"
framework: network
role: symbol
role_heading: Instance Method
path: "network/ip/version(_:)"
---

# version(_:)

## Declaration

```swift
func version(_ version: NWProtocolIP.Options.Version) -> IP
```
