pub unsafe extern "C-unwind" fn SCNetworkServiceCopyProtocol(
service: &SCNetworkService,
protocol_type: &CFString,
) -> Option<CFRetained<SCNetworkProtocol>>Available on crate feature
SCNetworkConfiguration only.Expand description
Returns the network protocol of the specified type for the service.
Parameter service: The network service.
Returns: A reference to the SCNetworkProtocol associated with the service; NULL if this protocol has not been added or if an error was encountered. You must release the returned value.