FLanBeacon::ReceivePacket

Called to poll the socket for pending data.

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

int32 ReceivePacket
(
    uint8 * PacketData,
    int32 BufferSize
)

Remarks

Called to poll the socket for pending data. Any data received is placed in the specified packet buffer

Called to poll the socket for pending data. Any data received is placed in the specified packet buffer

Returns

the number of bytes read (<= 0 if none or an error)

Parameters

Parameter

Description

PacketData

the buffer to get the socket's packet data

BufferSize

the size of the packet buffer

PacketData

the buffer to get the socket's packet data

BufferSize

the size of the packet buffer

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