---
title: "SCNetworkProtocolSetConfiguration(_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkprotocolsetconfiguration(_:_:)"
---

# SCNetworkProtocolSetConfiguration(_:_:)

Stores the configuration settings for the specified network protocol.

## Declaration

```swift
func SCNetworkProtocolSetConfiguration(_ protocol: SCNetworkProtocol, _ config: CFDictionary?) -> Bool
```

## Parameters

- `protocol`: The network protocol.
- `config`: The configuration settings to store.

## Return Value

Return Value TRUE if the configuration was stored; FALSE if an error occurred.

## See Also

### Configuring Network Protocols

- [SCNetworkProtocolGetConfiguration(_:)](systemconfiguration/scnetworkprotocolgetconfiguration(_:).md)
- [SCNetworkProtocolGetEnabled(_:)](systemconfiguration/scnetworkprotocolgetenabled(_:).md)
- [SCNetworkProtocolGetProtocolType(_:)](systemconfiguration/scnetworkprotocolgetprotocoltype(_:).md)
- [SCNetworkProtocolGetTypeID()](systemconfiguration/scnetworkprotocolgettypeid().md)
- [SCNetworkProtocolSetEnabled(_:_:)](systemconfiguration/scnetworkprotocolsetenabled(_:_:).md)
