Contents

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