# libtmux::detail::Row::connection_identity

- **Module:** libtmux::detail::Row
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L236
- **Page:** https://libtmux.org/reference/cxx/libtmux-detail-row-connection_identity/

```
libtmux::detail::Row::connection_identity() -> std::string_view
```

Which tmux server incarnation this came from.

Equality and hashing are defined in terms of it, so two handles opened on one live socket agree but a handle kept across a restart does not become a handle to the replacement.

Empty for a value read out of a recording, which is on no server at all.
