# Endpoint

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