## ServicePointManager::SetTcpKeepAlive method


'Keep-Alive' オプションが有効かどうかを示す値を設定します。

```cpp
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.Page for C++](../../../)
