Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking > API/Plugins/WebSocketNetworking/UWebSocketConnection
- UNetConnection::InitLocalConnection()
- UWebSocketConnection::InitLocalConnection()
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/WebSocketConnection.h |
| Include | #include "WebSocketConnection.h" |
| Source | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Private/WebsocketConnection.cpp |
virtual void InitLocalConnection
&40;
UNetDriver &42; InDriver,
class FSocket &42; InSocket,
const FURL & InURL,
EConnectionState InState,
int32 InMaxPacket,
int32 InPacketOverhead
&41;
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 |