FResolveInfoAsync

Class for creating a background thread to resolve a host.

Windows
MacOS
Linux

Inheritance Hierarchy

FResolveInfo

FResolveInfoAsync

References

Module

Sockets

Header

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

Include

#include "IPAddress.h"

Syntax

class FResolveInfoAsync : public FResolveInfo

Remarks

Class for creating a background thread to resolve a host.

Constructors

Name Description

Public function

FResolveInfoAsync

(
    const ANSICHAR* InHostName
)

Copies the host name for async resolution

Functions

Name Description

Public function

void

 

DoWork()

Resolves the specified host name

Public function

void

 

StartAsyncTask()

Start the async work and perform it synchronously if no thread pool is available

Overridden from FResolveInfo

Name Description

Public function Virtual Const

int32

 

GetErrorCode()

The error that occurred when trying to resolve

Public function Virtual Const

const FInter...

 

GetResolvedAddress()

Returns a copy of the resolved address

Public function Virtual Const

bool

 

IsComplete()

Whether the async process has completed or not

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