async_wasi::snapshots::preview_1::async_socket

Function sock_open

Source
pub fn sock_open<M: Memory>(
    ctx: &mut WasiCtx,
    mem: &mut M,
    af: Type,
    ty: Type,
    ro_fd_ptr: WasmPtr<__wasi_fd_t>,
) -> Result<(), Errno>