UNetConnection::InitConnection

Initializes an "addressless" connection with the passed in settings

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Source

/Engine/Source/Runtime/Engine/Private/NetConnection.cpp

Syntax

virtual void InitConnection
(
    UNetDriver * InDriver,
    EConnectionState InState,
    const FURL & InURL,
    int32 InConnectionSpeed,
    int32 InMaxPacket
)

Remarks

Initializes an "addressless" connection with the passed in settings

Parameters

Parameter

Description

InDriver

the net driver associated with this connection

InState

the connection state to start with for this connection

InURL

the URL to init with

InConnectionSpeed

Optional connection speed override

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