FRecvMulti::FRecvMulti

Initialize an [FRecvMulti](API\Runtime\Sockets\FRecvMulti) instance, supporting the specified maximum packet count/sizes

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "SocketTypes.h"

Source

/Engine/Source/Runtime/Sockets/Private/Sockets.cpp

Syntax

FRecvMulti
(
    ISocketSubsystem * SocketSubsystem,
    int32 InMaxNumPackets,
    int32 InMaxPacketSize,
    ERecvMultiFlags InitFlags
)

Remarks

Initialize an FRecvMulti instance, supporting the specified maximum packet count/sizes

FRecvMulti

Parameters

Parameter

Description

SocketSubsystem

The socket subsystem initializing this FRecvMulti instance

InMaxNumPackets

The maximum number of packet receives supported

InMaxPacketSize

The maximum supported packet size

bRetrieveTimestamps

Whether or not to support retrieving timestamps

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