Contents

SCNetworkConnectionCopyUserOptions(_:)

Gets the user options used to start the specified connection.

Declaration

func SCNetworkConnectionCopyUserOptions(_ connection: SCNetworkConnection) -> CFDictionary?

Parameters

  • connection:

    The network connection.

Return Value

The service dictionary containing the connection options (the dictionary can be empty if no user options were used), or NULL if an error occurred (use the SCError() function to retrieve the specific error).

Discussion

A client can call this function to retrieve the user options previously passed to the SCNetworkConnectionStart(_:_:_:) function.

See Also

Getting Connection-Status Information