Navigation
API > API/Plugins > API/Plugins/SteamSockets > API/Plugins/SteamSockets/USteamSocketsNetDriver
- UNetDriver::InitBase()
- USteamSocketsNetDriver::InitBase()
References
| Module | SteamSockets |
| Header | /Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Public/SteamSocketsNetDriver.h |
| Include | #include "SteamSocketsNetDriver.h" |
| Source | /Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Private/SteamSocketsNetDriver.cpp |
virtual bool InitBase
&40;
bool bInitAsClient,
FNetworkNotify &42; InNotify,
const FURL & URL,
bool bReuseAddressAndPort,
FString & Error
&41;
Remarks
Common initialization between server and client connection setup true if successful, false otherwise (check Error parameter)
Parameters
| Name | Description |
|---|---|
| bInitAsClient | are we a client or server |
| InNotify | notification object to associate with the net driver |
| URL | destination |
| bReuseAddressAndPort | whether to allow multiple sockets to be bound to the same address/port |
| Error | output containing an error string on failure |