ISocketSubsystem::GetHostByName

Creates a platform specific async hostname resolution object

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "SocketSubsystem.h"

Source

/Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp

Syntax

virtual FResolveInfo * GetHostByName
(
    const ANSICHAR * HostName
)

Remarks

Creates a platform specific async hostname resolution object

Returns

the resolve info to query for the address

Parameters

Parameter

Description

HostName

the name of the host to look up

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