libtmux Reference MCP Search
On this page

server.socketAddress

View as Markdown

Module
server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
socketAddress ( connection : : TmuxConnection ) string
function [source]
function [source]
socketAddress

How a connection addresses its daemon, as one comparable string.

An absolute socket path names the daemon outright. A name does not: it is resolved against TMUX_TMPDIR (then the default tmpdir) and a per-user directory, so the tmpdir in force is part of the address. tmux's own default name is default, which is why an unnamed connection is not a third case.

0 declared, 0 inherited

Esc

Type to search.