ListenStatus — success, or a ListenError payload with the
reason and the captured OS error code.
ListenStatus listen(ref EventLoop loop, scope const(char)[] path) @trustedStart 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.
loop | Event loop to register with. |
path | Filesystem path to bind the socket to. |
ListenStatus — success, or a ListenError payload with the
reason and the captured OS error code.