ISocketSubsystem::GetHostName

Determines the name of the local machine

Choose your operating system:

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