FSocket::SetMulticastLoopback

Enables or disables multicast loopback on the socket (UDP only).

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/Sockets.h

Include

#include "Sockets.h"

Syntax

bool SetMulticastLoopback
(
    bool bLoopback
)

Remarks

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.

Parameters

Parameter

Description

bLoopback

Whether loopback should be enabled.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss