h6. [[Internet]] h6(. » [[Internet SWI Calls|SWI Calls]] h6((. » Socket_Shutdown h2. Socket_Shutdown h5. (SWI &4120B) |_<^{width:4em}. Entry | | |<^. R0 |<^. Socket descriptor | |<^. R1 |<^. Direction of shut down | |_<^{width:4em}. Exit | | |<^. R0 |<^. Corrupted | h4. Use The purpose of this call is to shut down an existing send and receive operations on a stream socket. h4. Berkeley sockets equivalence This SWI directly corresponds to the function "shutdown":https://pubs.opengroup.org/onlinepubs/9699919799/functions/shutdown.html and would ordinarily be called from C using the <code>shutdown()</code> function in <code>socklib.h</code>. h4. Notes The socket descriptor is not freed by this and could be subsequently reused for another connection. h4. See also * [[Internet]] * [[Socket_Close]]