FIPv4Endpoint::ToInternetAddr

Converts this endpoint to an [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

TSharedRef< FInternetAddr > ToInternetAddr() const

Remarks

Converts this endpoint to an FInternetAddr object.

this method will be removed after the socket subsystem is refactored.

Returns

Internet address object representing this endpoint.