Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Networking/Public/Interfaces/IPv4/IPv4Endpoint.h |
Include |
#include "Interfaces/IPv4/IPv4Endpoint.h" |
struct FIPv4Endpoint
Implements an endpoint for IPv4 networks.
An endpoint consists of an IPv4 address and a port number.
Name | Description | ||
---|---|---|---|
|
Address |
Holds the endpoint's IP address. |
|
|
Port |
Holds the endpoint's port number. |
Name | Description | |
---|---|---|
|
FIPv4Endpoint() |
Default constructor. |
|
FIPv4Endpoint ( |
Creates and initializes a new IPv4 endpoint from a given FInternetAddr object. |
|
FIPv4Endpoint ( |
Creates and initializes a new IPv4 endpoint with the specified NetID and port. |
Name | Description | ||
---|---|---|---|
|
FromHostAndPort ( |
Resolves a hostname and port to an IPv4 endpoint. |
|
|
Initialize() |
Initializes the IP endpoint functionality. |
|
|
Parse ( |
Converts a string to an IPv4 endpoint. |
|
|
TSharedRef< ... |
ToInternetAddr() |
Converts this endpoint to an FInternetAddr object. |
|
TSharedRef< ... |
ToInternetAddrIPV4() |
Converts this endpoint to an FInternetAddr object. |
|
ToString() |
Gets a string representation for this endpoint. |
|
|
ToText() |
Gets the display text representation. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Compares this IPv4 address with the given endpoint for inequality. |
|
|
operator== ( |
Compares this IPv4 endpoint with the given endpoint for equality. |
Name |
Description |
---|---|
Any |
Defines the wild card endpoint, which is 0.0.0.0:0 |
CachedSocketSubsystem |
ISocketSubsystem::Get() is not thread-safe, so we cache it here. |