UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FResolveInfoAsync Class Reference

#include <IPAddressAsyncResolve.h>

+ Inheritance diagram for FResolveInfoAsync:

Public Member Functions

 FResolveInfoAsync (const ANSICHAR *InHostName)
 
void StartAsyncTask ()
 
void DoWork ()
 
virtual bool IsComplete () const
 
virtual int32 GetErrorCode () const
 
virtual const FInternetAddrGetResolvedAddress () const
 
- Public Member Functions inherited from FResolveInfo
virtual ~FResolveInfo ()
 

Additional Inherited Members

- Protected Member Functions inherited from FResolveInfo
 FResolveInfo ()
 

Constructor & Destructor Documentation

◆ FResolveInfoAsync()

FResolveInfoAsync::FResolveInfoAsync ( const ANSICHAR InHostName)

Copies the host name for async resolution

Parameters
InHostNamethe host name to resolve

Member Function Documentation

◆ DoWork()

void FResolveInfoAsync::DoWork ( )

Resolves the specified host name

◆ GetErrorCode()

virtual int32 FResolveInfoAsync::GetErrorCode ( ) const
inlinevirtual

The error that occurred when trying to resolve

Returns
error code from the operation

Implements FResolveInfo.

◆ GetResolvedAddress()

virtual const FInternetAddr & FResolveInfoAsync::GetResolvedAddress ( ) const
inlinevirtual

Returns a copy of the resolved address

Returns
the resolved IP address

Implements FResolveInfo.

◆ IsComplete()

virtual bool FResolveInfoAsync::IsComplete ( ) const
inlinevirtual

Whether the async process has completed or not

Returns
true if it completed successfully, false otherwise

Implements FResolveInfo.

◆ StartAsyncTask()

void FResolveInfoAsync::StartAsyncTask ( )
inline

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


The documentation for this class was generated from the following files: