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