[][src]Function wasi::sock_shutdown

pub unsafe fn sock_shutdown(fd: Fd, how: Sdflags) -> Result<()>

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.