pub fn default_socket() -> PathBufExpand description
Where the socket daemon listens by default. $ZWIRE_HOST_SOCK overrides on
every platform. Otherwise:
- Windows — a per-user named pipe
\\.\pipe\zwire-host-<user>. - Unix —
$XDG_RUNTIME_DIR/zwire-host.sock, else~/.zwire/host.sock.
On Windows the returned path’s leaf is used as the pipe’s namespaced name; the directory portion is ignored.