ISocketSubsystem::GetHostName

Determines the name of the local machine

Windows
MacOS
Linux

Override Hierarchy

ISocketSubsystem::GetHostName()

FSteamSocketsSubsystem::GetHostName()

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h

Include

#include "SocketSubsystem.h"

Syntax

bool GetHostName
(
    FString & HostName
)

Remarks

Determines the name of the local machine

Returns

true if successful, false otherwise

Parameters

Parameter

Description

HostName

the string that receives the data

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