## Socket::set_Ttl method


设置 TTL 值。

```cpp
void System::Net::Sockets::Socket::set_Ttl(int16_t value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | int16_t | 必须设置的值。 |

## 另见

* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Page for C++](../../../)
