Function

CFSocketGetDefaultNameRegistryPortNumber

Returns the default port number with which to connect to a CFSocket name server.

Declaration

UInt16 CFSocketGetDefaultNameRegistryPortNumber(void);

Return Value

The default port number with which to connect to a CFSocket name server.

Discussion

If you do not provide a name server signature or leave out the socket address in the signature when calling one of the name registry functions, such as CFSocketRegisterSocketSignature, the returned port number is used for the connection.

See Also

Core Foundation Socket Name Server Utilities Miscellaneous Functions

CFSocketCopyRegisteredSocketSignature

Returns a socket signature registered with a CFSocket name server.

CFSocketCopyRegisteredValue

Returns a value registered with a CFSocket name server.

CFSocketRegisterSocketSignature

Registers a socket signature with a CFSocket name server.

CFSocketRegisterValue

Registers a property-list value with a CFSocket name server.

CFSocketSetDefaultNameRegistryPortNumber

Sets the default port number with which to connect to a CFSocket name server.

CFSocketUnregister

Unregisters a value or socket signature with a CFSocket name server.