Navigation
API > API/Plugins > API/Plugins/DiscoveryBeaconReceiver
Inheritance Hierarchy
- FRunnable
- FDiscoveryBeaconReceiver
References
| Module | DiscoveryBeaconReceiver |
| Header | /Engine/Plugins/DiscoveryBeaconReceiver/Source/DiscoveryBeaconReceiver/Public/DiscoveryBeaconReceiver.h |
| Include | #include "DiscoveryBeaconReceiver.h" |
Syntax
class FDiscoveryBeaconReceiver : public FRunnable
Remarks
Receives beacon messages on a multicast endpoint and replies with information to connect to the engine. This allows remote apps to detect compatible Unreal instances on the local network.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDiscoveryBeaconReceiver
(
const FString& InDescription, |
Creates and initializes a new beacon receiver. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destroy the beacon receiver. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetDiscoveryAddress
(
FIPv4Address& OutAddress |
Get the IP address on which to listen for beacon messages. | |
| int32 | Get the port on which to listen for beacon messages. | ||
| bool | MakeBeaconResponse
(
uint8 BeaconProtocolVersion, |
Make a response to a beacon message. | |
| void | Shutdown () |
Close the socket and kill the listening thread. | |
| void | Startup () |
Open a socket and start a thread listening for beacon messages. |