FSocket::SetMulticastInterface

Sets the interface used to send outgoing multicast datagrams.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

bool SetMulticastInterface
(
    const FInternetAddr & InterfaceAddress
)

Remarks

Sets the interface used to send outgoing multicast datagrams.

Multicast traffic is sent using the default interface, this allows to explicitly set the interface used to send outgoing multicast datagrams.

Returns

true if the call succeeded, false otherwise.

Parameters

Parameter

Description

InterfaceAddress

The interface address.

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