UnixConnection.connect

ConnectStatus connect(ref EventLoop loop, scope const(char)[] path, CancelToken cancel = CancelToken.invalid) @trusted

Start a non-blocking connection attempt to a Unix domain socket path.

Parameters

loopEvent loop to register with.
pathFilesystem path of the Unix domain socket to connect to.
cancelOptional cancellation token.

Returns

ConnectStatus — success, or a ConnectError payload with the

reason and the captured OS error code.