Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
Description
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.
| Name | SetMulticastInterface |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include Path | #include "Sockets.h" |
bool SetMulticastInterface
(
const FInternetAddr & InterfaceAddress
)
true if the call succeeded, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InterfaceAddress | The interface address. |