IOnlineSession::GetResolvedConnectString

Returns the platform specific connection information for joining the match.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool GetResolvedConnectString
(
    FName SessionName,
    FString & ConnectInfo,
    FName PortType
)

Remarks

Returns the platform specific connection information for joining the match. Call this function from the delegate of join completion

Returns

true if the call was successful, false otherwise

Parameters

Parameter

Description

SessionName

the name of the session to resolve

ConnectInfo

the string containing the platform specific connection information

PortType

type of port to append to result (Game, Beacon, etc)

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