SetTcpKeepAlive()
ServicePoint::SetTcpKeepAlive(bool, int32_t, int32_t) method
Sets the value that indicates if the ‘Keep-Alive’ option is enabled.
void System::Net::ServicePoint::SetTcpKeepAlive(bool enabled, int32_t keepAliveTime, int32_t keepAliveInterval)
Arguments
Parameter | Type | Description |
---|---|---|
enabled | bool | A value that indicates if the ‘Keep-Alive’ option is enabled. |
keepAliveTime | int32_t | A timeout in milliseconds after which the first ‘Keep-Alive’ packet will be sent. |
keepAliveInterval | int32_t | A timeout in milliseconds between sending ‘Keep-Alive’ packets. |
See Also
- Class ServicePoint
- Namespace System::Net
- Library Aspose.Slides