ISocketSubsystem::CreateRecvMulti

Create a platform specific [FRecvMulti](API\Runtime\Sockets\FRecvMulti) representation

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "SocketSubsystem.h"

Source

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

Syntax

virtual TUniquePtr< FRecvMulti > CreateRecvMulti
(
    int32 MaxNumPackets,
    int32 MaxPacketSize,
    ERecvMultiFlags Flags
)

Remarks

Create a platform specific FRecvMulti representation

Returns

Returns the platform specific FRecvMulti instance

Parameters

Parameter

Description

MaxNumPackets

The maximum number of packet receives supported

MaxPacketSize

The maximum supported packet size

Flags

Flags for specifying how FRecvMulti should be initialized (for e.g. 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