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>