FRecvMulti::GetPacketTimestamp

Returns the platform specific timestamp for when the specified packet was received by the operating system

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketTypes.h

Include

#include "SocketTypes.h"

Syntax

bool GetPacketTimestamp
(
    int32 PacketIdx,
    FPacketTimestamp & OutTimestamp
) const

Remarks

Returns the platform specific timestamp for when the specified packet was received by the operating system

Returns

Whether or not the timestamp was retrieved successfully

Parameters

Parameter

Description

PacketIdx

The index into Packets, of the packet to be checked

OutTimestamp

The timestamp for the specified packet

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