nn::socket::Shutdown Function
s32 Shutdown(
s32 s,
s32 how
);
| Name | Description | |
|---|---|---|
| in | s | Specifies a socket descriptor. Specify a socket descriptor created using the Socket or Accept function. |
| in | how | Specifies the method to use to shut down.SHUT_RD: Disallow any further receiving.SHUT_WR: Disallow any further sending.SHUT_RDWR: Disallow any further sending or receiving. |
0 if successful. This function shuts down some or all socket send/receive processes.
CONFIDENTIAL