ISocketSubsystem::AddHostNameToCache

Stores the ip address with the matching host name

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

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