Navigation
API > API/Plugins > API/Plugins/OnlineBase > API/Plugins/OnlineBase/Online
References
| Module | OnlineBase |
| Header | /Engine/Plugins/Online/OnlineBase/Source/Public/Online/LANBeacon.h |
| Include | #include "Online/LANBeacon.h" |
Syntax
class FLanBeacon
Remarks
Class responsible for sending/receiving UDP broadcasts for LAN match discovery
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLanBeacon () |
Sets the broadcast address for this object |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FLanBeacon () |
Frees the broadcast socket |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | BroadcastPacket
(
uint8* Packet, |
Uses the cached broadcast address to send packet to a subnet | |
| bool | Init
(
int32 Port |
Initializes the socket | |
| bool | Return true if there is a valid ListenSocket | ||
| int32 | ReceivePacket
(
uint8* PacketData, |
Called to poll the socket for pending data. |