pub unsafe extern "C-unwind" fn SCNetworkServiceAddProtocolType(
service: &SCNetworkService,
protocol_type: &CFString,
) -> boolAvailable on crate feature
SCNetworkConfiguration only.Expand description
Adds a network protocol of the specified type to the service. The protocol configuration is set to default values that are appropriate for the interface associated with the service.
Parameter service: The network service.
Parameter protocolType: The type of SCNetworkProtocol to be added to the service.
Returns: TRUE if the protocol was added to the service; FALSE if the protocol was already present or an error was encountered.