---
title: version
framework: network
role: symbol
role_heading: Instance Property
path: network/nwprotocolip/options/version-swift.property
---

# version

A required IP version that disables all other versions for a connection.

## Declaration

```swift
var version: NWProtocolIP.Options.Version { get set }
```

## See Also

### Selecting an IP Version

- [NWProtocolIP.Options.Version](network/nwprotocolip/options/version-swift.enum.md)
