# libtmux::detail::Row::connection_identity

- **Module:** libtmux::detail::Row
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/entities.hpp#L319
- **Page:** https://libtmux.org/en/cxx/latest/reference/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.
