# Endpoint

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

Where a tmux server listens.

tmux resolves a *name* against `$TMUX_TMPDIR` at exec time, so the same name
can denote different servers in different environments. A *path* denotes one
socket. The two are mutually exclusive, and a value of either kind is always
addressable — the length check that a path must pass happens here rather
than at bind time, where it would surface as an opaque failure.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `socketName(_:)` (constant)
- `socketPath(_:)` (constant)
- `init(socketName:)` (method)
- `init(socketPath:)` (method)
- `portableSocketPathByteLimit` (property) — The longest socket path this library will accept, in bytes.
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
