FAddressInfoResultData

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "AddressInfoTypes.h"

Syntax

struct FAddressInfoResultData

Variables

Name Description

Public variable

TSharedRef< FIn...

 

Address

The address associated with this result

Public variable

SIZE_T

 

AddressLen

Length of the returned address data

Public variable

ESocketProtocol...

 

AddressProtocol

The protocol of the address stored

Public variable

FName

 

AddressProtocolName

The protocol name of the address stored

Public variable

ESocketType

 

SocketConfiguration

Streaming or datagram

Constructors

Name Description

Public function

FAddressInfoResultData

(
    TSharedRef< FInternetAddr > InAddr,
    SIZE_T InAddrLen,
    ESocketProtocolFamily InProtocol,
    ESocketType InSocketConfiguration
)

Use constructor that supports an FName as the AddressProtocol property is now deprecated. AddressProtocolName supports multiple protocol types as should be used instead.

Public function

FAddressInfoResultData

(
    TSharedRef< FInternetAddr > InAddr,
    SIZE_T InAddrLen,
    const FName InProtocol,
    ESocketType InSocketConfiguration
)

Functions

Name Description

Public function Const

FName

 

GetSocketTypeName()

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FAddressInfoResultData& rhs
)

Deprecated Functions

Name Description

Public function

 

FAddressInfoResultData

(
    TSharedRef< FInternetAddr > InAddr,
    SIZE_T InAddrLen,
    ESocketProtocolFamily InProtocol,
    ESocketType InSocketConfiguration
)

Use constructor that supports an FName as the AddressProtocol property is now deprecated. AddressProtocolName supports multiple protocol types as should be used instead.

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