## Socket::Shutdown method


Disables the send and receive operations of the socket.

```cpp
void System::Net::Sockets::Socket::Shutdown(SocketShutdown how)
```


| Parameter | Type | Description |
| --- | --- | --- |
| how | SocketShutdown | Specifies the operation that will no longer be allowed. |

## See Also

* Enum [SocketShutdown](../../socketshutdown/)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
