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.