The daemon parameter instructs the transport creation function about how and where to find the Rendezvous daemon and establish communication.
The -listen option of the Rendezvous daemon (
rvd) specifies the socket where the Rendezvous daemon should listen for new client program connections.
The daemon parameter of the transport creation function must correspond to the
-listen option of daemon process; that is, they must specify the same communication type and socket number.
For local daemons, specify the transport creation function‘s
daemon parameter and the
‑listen option to the daemon process as a (TCP) socket number; for example:
"6555"
To use the default client socket, supply NULL as the
daemon argument to the transport creation function, and omit the
‑listen option to the daemon process.
For remote daemons, specify two parts (introducing the remote host name as the first part):
To connect to a secure daemon, specify three parts:
Colon characters (:) separate the three parts.
ssl indicates the protocol to use when attempting to connect to the daemon.
host indicates the host computer of the secure daemon. You can specify this host either as a network IP address, or a hostname. Omitting this part specifies the local host.
port_number specifies the port number where the secure daemon listens for TLS connections. This part is required; you may not omit it.