## ServicePoint::SetTcpKeepAlive method


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

```cpp
void System::Net::ServicePoint::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 [ServicePoint](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
