Expand description
A server directory’s socket file names: <serverId>.sock (the server’s address clients connect to),
control-<serverId>.sock (its coordinator’s control socket) and server-<serverId>-<nonce>.sock (one
generation’s endpoint).
Constants§
- LONGEST_
NAME - The longest name a server directory holds: a generation endpoint’s.
- NONCE_
LEN - The hex digits of a generation endpoint’s nonce.
Functions§
- control_
name - endpoint_
name - generation_
name - is_
generation_ of - Whether
file_nameis a generation endpoint ofserver_id. - server_
id_ of - The server ID an endpoint file name (
endpoint_name) carries; None for any other name.