SOCK_SHUTDOWN
WASI Preview1 function sock_shutdown
Definition:
;;; Shut down socket send and receive channels.
;;; Note: This is similar to `shutdown` in POSIX.
(@interface func (export "sock_shutdown")
(param $fd $fd)
;;; Which channels on the socket to shut down.
(param $how $sdflags)
(result $error (expected (error $errno)))
)
Content copied to clipboard