Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include | #include "Sockets.h" |
bool SetMulticastTtl
(
uint8 TimeToLive
)
Remarks
Sets the time to live (TTL) for multicast datagrams.
The default TTL for multicast datagrams is 1, which prevents them from being forwarded beyond the local subnet. Higher values will allow multicast datagrams to be sent into neighboring subnets, if multicast capable routers are present.
Parameters
| Name | Description |
|---|---|
| TimeToLive | Number of hops the datagram can make. |