## LingerOption::set_Enabled method


Sets a value that indicates if the socket will delay closing in an attempt to send all pending data.

```cpp
void System::Net::Sockets::LingerOption::set_Enabled(bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | A value that must be set. |

## See Also

* Class [LingerOption](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
