Navigation
API > API/Plugins > API/Plugins/SocketSubsystemEOS > API/Plugins/SocketSubsystemEOS/UNetDriverEOSBase
- UNetDriver::InitBase()
- UIpNetDriver::InitBase()
- UNetDriverEOSBase::InitBase()
References
| Module | SocketSubsystemEOS |
| Header | /Engine/Plugins/Online/SocketSubsystemEOS/Source/SocketSubsystemEOS/Public/NetDriverEOSBase.h |
| Include | #include "NetDriverEOSBase.h" |
| Source | /Engine/Plugins/Online/SocketSubsystemEOS/Source/SocketSubsystemEOS/Private/NetDriverEOSBase.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 |