Function

CFSocketSetDefaultNameRegistryPortNumber

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

Declaration

void CFSocketSetDefaultNameRegistryPortNumber(UInt16 port);

Parameters

port

The port number to use to connect to the 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, port will be 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.

CFSocketGetDefaultNameRegistryPortNumber

Returns the default port number with which to connect to 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.

CFSocketUnregister

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