## Socket::set_LingerState method


Establece un valor que indica si el socket retrasará el cierre en un intento de enviar todos los datos pendientes.

```cpp
void System::Net::Sockets::Socket::set_LingerState(System::SharedPtr<LingerOption> value)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| valor | System::SharedPtr\<LingerOption\> | El valor que debe establecerse. |

## Ver también

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LingerOption](../../lingeroption/)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
