# libtmux::EnvironmentSocket::arguments

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

```
[[nodiscard]] expected<std::vector<std::string>,
                       SocketError>
arguments() const;
```

`-S path` for the path variable, `-L name` for the name variable, and nothing at all when no variable is set.

A value `socket_path_arguments()` or `socket_name_arguments()` rejects is rejected here.
