Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking > API/Plugins/WebSocketNetworking/UWebSocketNetDriver
- UNetDriver::InitConnect()
- UWebSocketNetDriver::InitConnect()
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/WebSocketNetDriver.h |
| Include | #include "WebSocketNetDriver.h" |
| Source | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Private/WebSocketNetDriver.cpp |
virtual bool InitConnect
&40;
FNetworkNotify &42; InNotify,
const FURL & ConnectURL,
FString & Error
&41;
Remarks
Initialize the net driver in client mode true if successful, false otherwise (check Error parameter)
Parameters
| Name | Description |
|---|---|
| InNotify | notification object to associate with the net driver |
| ConnectURL | remote ip:port of host to connect to |
| Error | resulting error string from connection attempt |