System::Net::ServicePoint::SetTcpKeepAlive méthode
ServicePoint::SetTcpKeepAlive method
Définit la valeur indiquant si l’option ‘Keep-Alive’ est activée.
void System::Net::ServicePoint::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 ServicePoint
- Namespace System::Net
- Library Aspose.Font for C++