SCNetworkServiceCreate(_:_:)
Creates a new network service for the specified interface in the configuration.
Declaration
func SCNetworkServiceCreate(_ prefs: SCPreferences, _ interface: SCNetworkInterface) -> SCNetworkService?Parameters
- prefs:
The preferences session.
- interface:
The network interface for which to create the new service.
Return Value
The new network service. You must release the returned value.
See Also
Configuring Network Services
SCNetworkServiceAddProtocolType(_:_:)SCNetworkServiceCopy(_:_:)SCNetworkServiceCopyAll(_:)SCNetworkServiceCopyProtocol(_:_:)SCNetworkServiceCopyProtocols(_:)SCNetworkServiceEstablishDefaultConfiguration(_:)SCNetworkServiceGetEnabled(_:)SCNetworkServiceGetInterface(_:)SCNetworkServiceGetName(_:)SCNetworkServiceGetServiceID(_:)SCNetworkServiceGetTypeID()SCNetworkServiceRemove(_:)SCNetworkServiceRemoveProtocolType(_:_:)SCNetworkServiceSetEnabled(_:_:)SCNetworkServiceSetName(_:_:)