طريقة System::Net::ServicePoint::SetTcpKeepAlive
ServicePoint::SetTcpKeepAlive method
يضبط القيمة التي تشير إلى ما إذا كان خيار ‘Keep-Alive’ مفعلاً.
void System::Net::ServicePoint::SetTcpKeepAlive(bool enabled, int32_t keepAliveTime, int32_t keepAliveInterval)
| Parameter | Type | الوصف |
|---|---|---|
| مفعّل | bool | قيمة تشير إلى ما إذا كان خيار ‘Keep-Alive’ مفعلاً. |
| keepAliveTime | int32_t | مهلة بالمللي ثانية يتم بعده إرسال أول حزمة ‘Keep-Alive’. |
| keepAliveInterval | int32_t | مهلة بالمللي ثانية بين إرسال حزم ‘Keep-Alive’. |
انظر أيضًا
- Class ServicePoint
- Namespace System::Net
- Library Aspose.Page for C++