# tmux.SocketSelection

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/socket_selection.go#L13
- **Page:** https://libtmux.org/en/go/latest/reference/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.
