# Endpoint.portableSocketPathByteLimit

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

The longest socket path this library will accept, in bytes.

A UNIX socket path lives in a fixed array in the kernel, and the two
supported systems size it differently: 108 bytes on Linux, 104 on
Darwin. The smaller of the two, less the terminating NUL, is what a
path can be and still bind on either — so the check is the same
wherever it runs, and a path that works on one machine is not rejected
on the next. Exceeding it fails at bind time, far from the call that
chose the path, which is why this is checked up front.
