FRecvMulti::GetPacketTimestamp

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

Choose your 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