SCNetworkProtocolSetEnabled(_:_:)
Enables or disables the specified protocol.
Declaration
func SCNetworkProtocolSetEnabled(_ protocol: SCNetworkProtocol, _ enabled: Bool) -> BoolParameters
- protocol:
The network protocol to enable or disable.
- enabled:
TRUEif the protocol should be enabled.
Return Value
TRUE if the enabled status was saved; FALSE if an error occurred.