Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UNetConnection
- UNetConnection::InitConnection()
- UReplayNetConnection::InitConnection()
- UDemoNetConnection::InitConnection()
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 |
virtual void InitConnection
&40;
UNetDriver &42; InDriver,
EConnectionState InState,
const FURL & InURL,
int32 InConnectionSpeed,
int32 InMaxPacket
&41;
Remarks
Initializes an "addressless" connection with the passed in settings
Parameters
Name | 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 |