---
title: NetService.Options
framework: foundation
role: symbol
role_heading: Structure
path: foundation/netservice/options
---

# NetService.Options

These constants specify options for a network service.

## Declaration

```swift
struct Options
```

## Topics

### Constants

- [noAutoRename](foundation/netservice/options/noautorename.md)
- [listenForConnections](foundation/netservice/options/listenforconnections.md)

### Initializers

- [init(rawValue:)](foundation/netservice/options/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Constants

- [NSNetServices Errors](foundation/nsnetservices-errors.md)
- [NetService.ErrorCode](foundation/netservice/errorcode-swift.enum.md)
