# libtmux::Server::startable_at_socket_path

- **Module:** libtmux::Server
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/server.hpp#L111
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-server-startable_at_socket_path/

```
libtmux::Server::startable_at_socket_path(path: std::string_view, configuration: std::optional< std::filesystem::path >, observer: CommandObserver = {}, policy: ExecutionPolicy = {}) -> expected< Server, CommandFailure >
```

A socket handle that may create an absent server on its first `new_session` call or an explicit `run({"start-server"})`.

`configuration` is passed to tmux as `-f`; absent preserves tmux's user configuration. Every other call remains no-start while the socket is absent. The selector and configuration are frozen in the handle, and concurrent first-session calls are serialized.
