# libtmux:daemon-socket-path

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/daemon.lisp#L86
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-daemon-socket-path/

```
(daemon-socket-path daemon)
```

Return an owned copy of DAEMON's private socket path, or NIL before allocation.
No I/O. An ordinary client may connect while the owner is READY. Closing that
client leaves the daemon alive; STOP-DAEMON releases the daemon itself.

See also: `libtmux:daemon-program`, `libtmux:open-client`, `libtmux:stop-daemon`.

## Parameters

- `daemon`
