Contents

SCNetworkProtocolGetEnabled(_:)

Returns a Boolean value indicating whether the specified protocol is enabled.

Declaration

func SCNetworkProtocolGetEnabled(_ protocol: SCNetworkProtocol) -> Bool

Parameters

  • protocol:

    The network protocol.

Return Value

TRUE if the protocol is enabled; otherwise, FALSE.

See Also

Configuring Network Protocols