ConnectStatus — success, or a ConnectError payload with the
reason and the captured OS error code.
ConnectStatus connect(ref EventLoop loop, scope const(char)[] path, CancelToken cancel = CancelToken.invalid) @trustedStart a non-blocking connection attempt to a Unix domain socket path.
loop | Event loop to register with. |
path | Filesystem path of the Unix domain socket to connect to. |
cancel | Optional cancellation token. |
ConnectStatus — success, or a ConnectError payload with the
reason and the captured OS error code.
ConnectStatus connect(ref EventLoop loop, UnixAddress address, CancelToken cancel = CancelToken.invalid) @trustedStart a non-blocking connection attempt to a Unix domain socket address.
Linux abstract-namespace addresses are supported through UnixAddress.abstractName; on other platforms an abstract request fails with ConnectErrorReason.UNSUPPORTED.
loop | Event loop to register with. |
address | Address to connect to. |
cancel | Optional cancellation token. |
ConnectStatus — success, or a ConnectError payload with the
reason and the captured OS error code.