FIPv4Endpoint::FIPv4Endpoint

Creates and initializes a new IPv4 endpoint from a given [FInternetAddr](API\Runtime\Sockets\FInternetAddr) object.

Choose your operating system:

Windows

macOS

Linux

References

Module

Networking

Header

/Engine/Source/Runtime/Networking/Public/Interfaces/IPv4/IPv4Endpoint.h

Include

#include "Interfaces/IPv4/IPv4Endpoint.h"

Syntax

FIPv4Endpoint
(
    const TSharedPtr< FInternetAddr > & InternetAddr
)

Remarks

Creates and initializes a new IPv4 endpoint from a given FInternetAddr object.

this constructor will be removed after the socket subsystem has been refactored.

Parameters

Parameter

Description

InternetAddr

The Internet address.