UPendingNetGame::FinalizeEncryptedConnection

Setup the connection for encryption with a given key All future packets are expected to be encrypted

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PendingNetGame.h

Include

#include "Engine/PendingNetGame.h"

Source

/Engine/Source/Runtime/Engine/Private/PendingNetGame.cpp

Syntax

void FinalizeEncryptedConnection
(
    const FEncryptionKeyResponse & Response,
    TWeakObjectPtr< UNetConnection > WeakConnection
)

Remarks

Setup the connection for encryption with a given key All future packets are expected to be encrypted

Parameters

Parameter

Description

Response

response from the game containing its encryption key or an error message

WeakConnection

the connection related to the encryption request