UIpConnection::InitBase

Initialize common settings for this connection instance

Windows
MacOS
Linux

Override Hierarchy

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/IpConnection.h

Include

#include "IpConnection.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/IpConnection.cpp

Syntax

virtual void InitBase
(
    UNetDriver * InDriver,
    class FSocket * InSocket,
    const FURL & InURL,
    EConnectionState InState,
    int32 InMaxPacket,
    int32 InPacketOverhead
)

Remarks

Initialize common settings for this connection instance

Parameters

Parameter

Description

InDriver

the net driver associated with this connection

InSocket

the socket associated with this connection

InURL

the URL to init with

InState

the connection state to start with for this connection

InMaxPacket

the max packet size that will be used for sending

InPacketOverhead

the packet overhead for this connection type

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