---
title: resolve()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/netservice/resolve()
---

# resolve()

Starts a resolve process for the service.

## Declaration

```swift
func resolve()
```

## Discussion

Discussion Attempts to determine at least one address for the service. This method returns immediately, with success or failure indicated by the callbacks to the delegate. In OS X v10.4, this method calls resolve(withTimeout:) with a timeout value of 5.

## See Also

### Related Documentation

- [addresses](foundation/netservice/addresses.md)

### Using Network Services

- [publish()](foundation/netservice/publish().md)
- [publish(options:)](foundation/netservice/publish(options:).md)
- [resolve(withTimeout:)](foundation/netservice/resolve(withtimeout:).md)
- [port](foundation/netservice/port.md)
- [startMonitoring()](foundation/netservice/startmonitoring().md)
- [stop()](foundation/netservice/stop().md)
- [stopMonitoring()](foundation/netservice/stopmonitoring().md)
