#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_tcp_connect(stack: Stack) -> StackExpand description
TCP connect to a remote endpoint.
Stack effect: ( host:String port:Int โ Socket Bool )
Resolves host through the may-aware DNS layer (cache + worker
pool โ no getaddrinfo ever runs on a may carrier), then tries
each resolved address in order until one connects via
may::net::TcpStream::connect. Yields the strand on every step.
Returns (0, false) on resolution failure, every-address-failed,
invalid port, or socket-registry exhaustion.
ยงSafety
Stack must have a String (host) and Int (port) on top โ port topmost.