## ServicePointManager::SetTcpKeepAlive method


Establece el valor que indica si la opción 'Keep-Alive' está habilitada.

```cpp
static void System::Net::ServicePointManager::SetTcpKeepAlive(bool enabled, int32_t keepAliveTime, int32_t keepAliveInterval)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| habilitado | bool | Un valor que indica si la opción 'Keep-Alive' está habilitada. |
| keepAliveTime | int32_t | Un tiempo de espera en milisegundos después del cual se enviará el primer paquete 'Keep-Alive'. |
| keepAliveInterval | int32_t | Un tiempo de espera en milisegundos entre el envío de paquetes 'Keep-Alive'. |

## Ver también

* Class [ServicePointManager](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
