# libtmux::SocketSource

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/542fdc204ff3cfa56f5484327cda0c69bad2307d/include/libtmux/socket.hpp#L100
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-socketsource/

What chose a socket when the caller named none.

## Members

### Other members

- [`name_variable`](/en/cxx/latest/reference/libtmux-socketsource-name_variable/) (constant): `LIBTMUX_SOCKET`, tmux `-L`.
- [`none`](/en/cxx/latest/reference/libtmux-socketsource-none/) (constant): Neither variable is set: tmux picks the server.
- [`path_variable`](/en/cxx/latest/reference/libtmux-socketsource-path_variable/) (constant): `LIBTMUX_SOCKET_PATH`, tmux `-S`.
