CFSocketSetDefaultNameRegistryPortNumber(_:)
Sets the default port number with which to connect to a CFSocket name server.
Declaration
func CFSocketSetDefaultNameRegistryPortNumber(_ port: UInt16)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.