Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > USimulatedClientNetConnection
- UNetConnection::InitLocalConnection()
- USimulatedClientNetConnection::InitLocalConnection()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h |
Include | #include "Engine/NetConnection.h" |
virtual void InitLocalConnection
(
UNetDriver * InDriver,
class FSocket * InSocket,
const FURL & InURL,
EConnectionState InState,
int32 InMaxPacket,
int32 InPacketOverhead
)
Remarks
Initialize this connection instance to a remote source
Parameters
Name | Description |
---|---|
InDriver | the net driver associated with this connection |
InSocket | the socket associated with this connection |
InURL | the URL to init with |
InRemoteAddr | the remote address for this connection |
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 |