System::Net::ServicePointManager::SetTcpKeepAlive méthode
ServicePointManager::SetTcpKeepAlive method
Définit la valeur indiquant si l’option ‘Keep-Alive’ est activée.
static void System::Net::ServicePointManager::SetTcpKeepAlive(bool enabled, int32_t keepAliveTime, int32_t keepAliveInterval)
| Paramètre | Type | Description |
|---|---|---|
| activé | bool | Une valeur qui indique si l’option ‘Keep-Alive’ est activée. |
| keepAliveTime | int32_t | Un délai d’attente en millisecondes après lequel le premier paquet ‘Keep-Alive’ sera envoyé. |
| keepAliveInterval | int32_t | Un délai d’attente en millisecondes entre l’envoi de paquets ‘Keep-Alive’. |
Voir aussi
- Class ServicePointManager
- Namespace System::Net
- Library Aspose.Font for C++