# TmuxServers

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Discovery.swift#L34
- **Page:** https://libtmux.org/reference/swift/tmuxservers/

Finding the tmux servers already running on this machine.

Every other call in this library addresses a server the caller already
names. This is the one that answers "what is there?" — which a program
arriving in an unfamiliar environment cannot ask any other way, because a
tmux server is a socket on disk and nothing enumerates them.

## Members

- `defaultDirectories(environment:)` (method) — Where tmux puts sockets when nobody says otherwise.
- `discover(in:tmuxExecutable:)` (method) — Every server listening on a socket in `directories`.
