Function connect
Source pub fn connect(addr: UnixSocketAddr<'_>) -> Result<UnixConnectResult, CoreError>
Expand description
Connect a non-blocking Unix stream socket.
§Fork Safety
The socket is O_CLOEXEC and will be closed in the child after exec.
§Errors
EACCES: Permission denied.
ECONNREFUSED: No one listening on the remote address.
EINPROGRESS: Connection is in progress.
ENOENT: The socket path does not exist.