Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/LANBeacon.h |
Include |
#include "LANBeacon.h" |
class FLanBeacon
Class responsible for sending/receiving UDP broadcasts for LAN match discovery
Name | Description | |
---|---|---|
|
FLanBeacon() |
Sets the broadcast address for this object |
Name | Description | |
---|---|---|
|
~FLanBeacon() |
Frees the broadcast socket |
Name | Description | ||
---|---|---|---|
|
BroadcastPacket |
Uses the cached broadcast address to send packet to a subnet |
|
|
Init ( |
Initializes the socket |
|
|
IsListenSocketValid() |
Return true if there is a valid ListenSocket |
|
|
ReceivePacket |
Called to poll the socket for pending data. |