System::Net::ServicePointManager::SetTcpKeepAlive मेथड

ServicePointManager::SetTcpKeepAlive method

‘Keep-Alive’ विकल्प सक्षम है या नहीं, यह दर्शाने वाला मान सेट करता है।

static void System::Net::ServicePointManager::SetTcpKeepAlive(bool enabled, int32_t keepAliveTime, int32_t keepAliveInterval)
पैरामीटरप्रकारविवरण
सक्षमboolएक मान जो दर्शाता है कि ‘Keep-Alive’ विकल्प सक्षम है।
keepAliveTimeint32_tएक टाइमआउट मिलीसेकंड में, जिसके बाद पहला ‘Keep-Alive’ पैकेट भेजा जाएगा।
keepAliveIntervalint32_tएक टाइमआउट मिलीसेकंड में, जो ‘Keep-Alive’ पैकेट भेजने के बीच होता है।

संबंधित देखें