# libtmux::EnvironmentSocket

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

The socket the environment selects, or none.

## Members

### Other members

- [`arguments`](/en/cxx/latest/reference/libtmux-environmentsocket-arguments/) (method): `-S path` for the path variable, `-L name` for the name variable, and nothing at all when no variable is set.
- [`source`](/en/cxx/latest/reference/libtmux-environmentsocket-source/) (attribute)
- [`value`](/en/cxx/latest/reference/libtmux-environmentsocket-value/) (attribute): The variable's value, as given: not trimmed and not checked.
