FLanBeacon::Init

Initializes the socket

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/LANBeacon.h

Include

#include "LANBeacon.h"

Source

/Engine/Plugins/Online/OnlineSubsystem/Source/Private/LANBeacon.cpp

Syntax

bool Init
(
    int32 Port
)

Remarks

Initializes the socket

Returns

true if both socket was created successfully, false otherwise

Parameters

Parameter

Description

Port

the port to listen on

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss