UnixListener.listen

ListenStatus 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

ListenStatus — success, or a ListenError payload with the

reason and the captured OS error code.