Function ntex::rt::tcp_connect
source ·
[−]pub async fn tcp_connect(addr: SocketAddr) -> Result<Io<Base>, Error>
Expand description
Opens a TCP connection to a remote host.
pub async fn tcp_connect(addr: SocketAddr) -> Result<Io<Base>, Error>
Opens a TCP connection to a remote host.