Function cloudabi::sock_shutdown [] [src]

pub unsafe fn sock_shutdown(sock_: fd, how_: sdflags) -> errno

Shuts down socket send and receive channels.

Parameters

sock: The socket that needs its channels shut down.

how: Which channels on the socket need to be shut down.