# tmux.SocketSelection

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/socket_selection.go#L13
- **Page:** https://libtmux.org/reference/go/tmux-socketselection/

SocketSelection describes the Unix filesystem endpoint selected by a [Server]. It does not report whether a server is listening there or whether tmux would accept the named-socket directory's ownership and permissions.

## Members

- `Path` (attribute) — Path is the absolute path selected by the frozen socket options, environment, and working directory.
- `NamedDirectory` (attribute) — NamedDirectory is the directory tmux uses for named and default sockets. It can differ from Path's directory when -S or TMUX selects another path.
