Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
Description
Enables or disables multicast loopback on the socket (UDP only).
This setting determines whether multicast datagrams are looped back to the sending socket. By default, multicast loopback is enabled. It must be enabled if more than one listener is present on a host.
| Name | SetMulticastLoopback |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include Path | #include "Sockets.h" |
bool SetMulticastLoopback
(
bool bLoopback
)
Parameters
| Name | Remarks |
|---|---|
| bLoopback | Whether loopback should be enabled. |
See Also
-
LeaveMulticastGroup
-
JoinMulticastGroup
-
SetMulticastTtl