Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPendingNetGame
Description
Inititalize the NetDriver to be used for the server connection handshake.
If InNetDriver is null then a new NetDriver will be created in the world using the NAME_GameNetDriver driver definition.
If InNetDriver is not null then it's expected that the NetDriver passed in has only been created and has not begun listening for connections or connecting to a remote server.
| Name | InitNetDriver |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/PendingNetGame.h |
| Include Path | #include "Engine/PendingNetGame.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PendingNetGame.cpp |
void InitNetDriver
(
UNetDriver * InNetDriver
)