arceos_api::net

Function ax_tcp_connect

Source
pub fn ax_tcp_connect(handle: &AxTcpSocketHandle, addr: SocketAddr) -> AxResult
Available on crate feature net only.
Expand description

Connects the TCP socket to the given address and port.