Navigation
API > API/Runtime > API/Runtime/Networking
Implements an IPv4 address.
| Name | FIPv4Address |
| Type | struct |
| Header File | /Engine/Source/Runtime/Networking/Public/Interfaces/IPv4/IPv4Address.h |
| Include Path | #include "Interfaces/IPv4/IPv4Address.h" |
Syntax
struct FIPv4Address
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIPv4Address
(
uint8 InA, |
Creates and initializes a new IPv4 address with the specified components. | Interfaces/IPv4/IPv4Address.h | |
FIPv4Address () |
Default constructor. | Interfaces/IPv4/IPv4Address.h | |
FIPv4Address
(
uint32 InValue |
Creates and initializes a new IPv4 address with the specified value. | Interfaces/IPv4/IPv4Address.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Any | const FIPv4Address | Defines the wild card address, which is 0.0.0.0 | Interfaces/IPv4/IPv4Address.h |
| InternalLoopback | const FIPv4Address | Defines the internal loopback address, which is 127.0.0.1 | Interfaces/IPv4/IPv4Address.h |
| LanBroadcast | const FIPv4Address | Defines the broadcast address for the 'zero network' (i.e. LAN), which is 255.255.255.255. | Interfaces/IPv4/IPv4Address.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | uint8 | Interfaces/IPv4/IPv4Address.h | ||
| B | uint8 | Interfaces/IPv4/IPv4Address.h | ||
| C | uint8 | Interfaces/IPv4/IPv4Address.h | ||
| D | uint8 | Interfaces/IPv4/IPv4Address.h | ||
| FIPv4Address | union FIPv4Address | Interfaces/IPv4/IPv4Address.h | ||
| Value | uint32 | The IP address value in host byte order. | Interfaces/IPv4/IPv4Address.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsGlobalMulticast () |
Checks whether this IP address is a global multicast address. | Interfaces/IPv4/IPv4Address.h | |
bool IsLinkLocal () |
Checks whether this IP address is link local. | Interfaces/IPv4/IPv4Address.h | |
bool IsLinkLocalMulticast () |
Checks whether this IP address is a link local multicast address. | Interfaces/IPv4/IPv4Address.h | |
bool IsLoopbackAddress () |
Checks whether this IP address is a loopback address.Loopback addresses have the form 127.x.x.x | Interfaces/IPv4/IPv4Address.h | |
bool IsMulticastAddress () |
Checks whether this IP address is a multicast address. | Interfaces/IPv4/IPv4Address.h | |
bool IsOrganizationLocalMulticast () |
Checks whether this IP address is a organization local multicast address. | Interfaces/IPv4/IPv4Address.h | |
bool IsSessionFrontendMulticast() |
Checks whether this IP address is the multicast address we use for the Session Frontend Which is 230.0.0.1 | Interfaces/IPv4/IPv4Address.h | |
bool IsSiteLocalAddress () |
Checks whether this IP address is a site local address. | Interfaces/IPv4/IPv4Address.h | |
bool IsSiteLocalMulticast () |
Checks whether this IP address is a site local multicast address. | Interfaces/IPv4/IPv4Address.h | |
FString ToString () |
Gets the string representation for this address. | Interfaces/IPv4/IPv4Address.h | |
| Gets the display text representation. | Interfaces/IPv4/IPv4Address.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool Parse
(
const FString& AddressString, |
Converts a string to an IPv4 address. | Interfaces/IPv4/IPv4Address.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FIPv4Address& Other |
Compares this IPv4 address with the given address for inequality. | Interfaces/IPv4/IPv4Address.h | |
FIPv4Address operator&
(
const FIPv4SubnetMask& SubnetMask |
AND operator for masking IP addresses with a subnet mask. | Interfaces/IPv4/IPv4Address.h | |
FIPv4Address operator|
(
const FIPv4SubnetMask& SubnetMask |
OR operator for masking IP addresses with a subnet mask. | Interfaces/IPv4/IPv4Address.h | |
bool operator==
(
const FIPv4Address& Other |
Compares this IPv4 address with the given address for equality. | Interfaces/IPv4/IPv4Address.h |