UnixListener.listen

ListenResult listen(ref EventLoop loop, scope const(char)[] path) @trusted

Start listening on the requested Unix domain socket path.

This will create the socket file at the specified path. If a socket file already exists at the path, it will be unlinked first.

Parameters

loopEvent loop to register with.
pathFilesystem path to bind the socket to.

Returns

ListenResult.OK on success, or an error variant indicating the failure reason.