# TmuxServers

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Discovery.swift#L35
- **Page:** https://libtmux.org/en/swift/latest/reference/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`.
