USteamSocketsNetDriver::InitConnect

Initialize the net driver in client mode

Windows
MacOS
Linux

Override Hierarchy

UNetDriver::InitConnect()

USteamSocketsNetDriver::InitConnect()

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

Syntax

virtual bool InitConnect
(
    FNetworkNotify * InNotify,
    const FURL & ConnectURL,
    FString & Error
)

Remarks

Initialize the net driver in client mode

Returns

true if successful, false otherwise (check Error parameter)

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss