ISocketSubsystem::CreateInternetAddr

Create a proper [FInternetAddr](API\Runtime\Sockets\FInternetAddr) representation

Windows
MacOS
Linux

Deprecated

  • To support different address sizes, use CreateInternetAddr with no arguments and call SetIp/SetRawIp and SetPort on the returned object

References

Module

Sockets

Header

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

Include

#include "SocketSubsystem.h"

Syntax

virtual TSharedRef< FInternetAddr > CreateInternetAddr
(
    uint32 Address,
    uint32 Port
)

Remarks

Create a proper FInternetAddr representation

Parameters

Parameter

Description

Address

host address

Port

host port

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