FDTLSContext::Initialize

Initialize the context

Windows
MacOS
Linux

References

Module

DTLSHandlerComponent

Header

/Engine/Plugins/Runtime/PacketHandlers/DTLSHandlerComponent/Source/Public/DTLSContext.h

Include

#include "DTLSContext.h"

Source

/Engine/Plugins/Runtime/PacketHandlers/DTLSHandlerComponent/Source/Private/DTLSContext.cpp

Syntax

bool Initialize
(
    const int32 MaxPacketSize,
    const FString & CertId,
    FDTLSHandlerComponent * Handler
)

Remarks

Initialize the context

Returns

false if initialization process failed for any reason

Parameters

Parameter

Description

MaxPacketSize

the MTU to respect when processing handshake packets

CertId

unique identifier of certificate to use, retrieved from FDTLSCertStore

Handler

the packet handler component that owns this context

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