Contents

SCNetworkProtocolSetEnabled(_:_:)

Enables or disables the specified protocol.

Declaration

func SCNetworkProtocolSetEnabled(_ protocol: SCNetworkProtocol, _ enabled: Bool) -> Bool

Parameters

  • protocol:

    The network protocol to enable or disable.

  • enabled:

    TRUE if the protocol should be enabled.

Return Value

TRUE if the enabled status was saved; FALSE if an error occurred.

See Also

Configuring Network Protocols