ISocketSubsystem::AddHostNameToCache

Stores the ip address with the matching host name

Choose your operating system:

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

void AddHostNameToCache
(
    const ANSICHAR * HostName,
    TSharedPtr< class FInternetAddr > Addr
)

Remarks

Stores the ip address with the matching host name

Parameters

Parameter

Description

HostName

the host name to search for

Addr

the IP that will be copied from