ISocketSubsystem::CreateInternetAddr

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

Choose your operating system:

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