Returns a value registered with a CFSocket name server.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The socket signature for the name server. If
NULL, this function contacts the default server, which is assumed to be a local process using TCP/IP to listen on the port number returned from
Get Default Name Registry Port Number
nameis incomplete, the missing values are replaced with the default server’s values, if appropriate.
The time to wait for the server to accept a connection and to reply to the registration request.
The name of the registered value to return.
A pointer to the property list object into which the retrieved value should be copied.
A pointer to a CFData object into which the name server’s address is copied. Pass
NULLif you do not want the server’s address.
An error code indicating success or failure.