FSocket::JoinMulticastGroup

Joins this socket to the specified multicast group on the specified interface.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

bool JoinMulticastGroup
(
    const FInternetAddr & GroupAddress,
    const FInternetAddr & InterfaceAddress
)

Remarks

Joins this socket to the specified multicast group on the specified interface.

The multicast group address must be in the range 224.0.0.0 to 239.255.255.255.

Returns

true on success, false otherwise.

Parameters

Parameter

Description

GroupAddress

The IP address of the multicast group.

InterfaceAddress

The address representing the interface.

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