Contents

CFSocketGetDefaultNameRegistryPortNumber()

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

Declaration

func CFSocketGetDefaultNameRegistryPortNumber() -> UInt16

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