Function wasmer_wasix::syscalls::wasix::sock_shutdown::sock_shutdown

source ·
pub fn sock_shutdown(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    sock: Fd,
    how: SdFlags,
) -> Result<Errno, WasiError>
Expand description

§sock_shutdown()

Shut down socket send and receive channels. Note: This is similar to shutdown in POSIX.

§Parameters

  • how - Which channels on the socket to shut down.