#include <icy/request.h>Inherits:
Request< uv_connect_t >
Asynchronous connection request for TCP sockets and named pipes.
| Return | Name | Description |
|---|---|---|
ConnectReq inline | Construct and set req.data to this. | |
auto | connect inline | Initiate a TCP connection to addr on handle. |
auto | connect inline | Initiate a named-pipe connection to name on handle. |
inline
inline ConnectReq()Construct and set req.data to this.
inline
inline auto connect(uv_tcp_t * handle, const struct sockaddr * addr)Initiate a TCP connection to addr on handle.
handle Initialized uv_tcp_t to connect.
addr Target address (IPv4 or IPv6 sockaddr).
true if the connect request was submitted successfully.
inline
inline auto connect(uv_pipe_t * handle, const char * name)Initiate a named-pipe connection to name on handle.
handle Initialized uv_pipe_t to connect.
name Filesystem path (Unix) or named-pipe name (Windows).
true if the connect request was submitted successfully.