![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IPv4Address.h>
Public Member Functions | |
| FIPv4Address () | |
| FIPv4Address (uint8 InA, uint8 InB, uint8 InC, uint8 InD) | |
| FIPv4Address (uint32 InValue) | |
| bool | operator== (const FIPv4Address &Other) const |
| bool | operator!= (const FIPv4Address &Other) const |
| FIPv4Address | operator| (const FIPv4SubnetMask &SubnetMask) const |
| FIPv4Address | operator& (const FIPv4SubnetMask &SubnetMask) const |
| bool | IsGlobalMulticast () const |
| bool | IsLinkLocal () const |
| bool | IsLinkLocalMulticast () const |
| bool | IsLoopbackAddress () const |
| bool | IsMulticastAddress () const |
| bool | IsOrganizationLocalMulticast () const |
| bool | IsSiteLocalAddress () const |
| bool | IsSiteLocalMulticast () const |
| bool | IsSessionFrontendMulticast () const |
| NETWORKING_API FString | ToString () const |
| FText | ToText () const |
Static Public Member Functions | |
| static NETWORKING_API bool | Parse (const FString &AddressString, FIPv4Address &OutAddress) |
Public Attributes | ||
| union { | ||
| struct { | ||
| uint8 A | ||
| uint8 B | ||
| uint8 C | ||
| uint8 D | ||
| } | ||
| uint32 Value | ||
| }; | ||
Static Public Attributes | |
| static NETWORKING_API const FIPv4Address | Any |
| static NETWORKING_API const FIPv4Address | InternalLoopback |
| static NETWORKING_API const FIPv4Address | LanBroadcast |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FIPv4Address &IpAddress) |
| uint32 | GetTypeHash (const FIPv4Address &Address) |
Implements an IPv4 address.
|
inline |
Default constructor.
Creates and initializes a new IPv4 address with the specified components.
The created IP address has the value A.B.C.D.
| InA | The first component. |
| InB | The second component. |
| InC | The third component. |
| InD | The fourth component. |
|
inline |
Creates and initializes a new IPv4 address with the specified value.
| InValue | The address value (in host byte order). |
|
inline |
Checks whether this IP address is a global multicast address.
Global multicast addresses are in the range 224.0.1.0 to 238.255.255.255.
|
inline |
Checks whether this IP address is link local.
Link local addresses are in the range 169.254.0.0/16
|
inline |
Checks whether this IP address is a link local multicast address.
Link local multicast addresses have the form 224.0.0.x.
|
inline |
Checks whether this IP address is a loopback address.
Loopback addresses have the form 127.x.x.x
|
inline |
Checks whether this IP address is a multicast address.
Multicast addresses are in the range 224.0.0.0 to 239.255.255.255.
|
inline |
Checks whether this IP address is a organization local multicast address.
Organization local multicast addresses are in the range 239.192.x.x to 239.195.x.x.
|
inline |
Checks whether this IP address is the multicast address we use for the Session Frontend Which is 230.0.0.1
|
inline |
Checks whether this IP address is a site local address.
Site local addresses have one of the following forms: 10.x.x.x 172.16-31.x.x 192.168.x.x
|
inline |
Checks whether this IP address is a site local multicast address.
Site local multicast addresses have the form 239.255.0.x.
|
inline |
Compares this IPv4 address with the given address for inequality.
| Other | The address to compare with. |
|
inline |
AND operator for masking IP addresses with a subnet mask.
| SubnetMask | The subnet mask. |
|
inline |
Compares this IPv4 address with the given address for equality.
| Other | The address to compare with. |
|
inline |
OR operator for masking IP addresses with a subnet mask.
| SubnetMask | The subnet mask. |
|
static |
Converts a string to an IPv4 address.
| AddressString | The string to convert. |
| OutAddress | Will contain the parsed address. |
| FString FIPv4Address::ToString | ( | ) | const |
|
inline |
|
friend |
Gets the hash for specified IPv4 address.
| Address | The address to get the hash for. |
|
friend |
Serializes the given IPv4 address from or into the specified archive.
| Ar | The archive to serialize from or into. |
| IpAddress | The address to serialize. |
| union { ... } FIPv4Address |
| uint8 FIPv4Address::A |
|
static |
Defines the wild card address, which is 0.0.0.0
| uint8 FIPv4Address::B |
| uint8 FIPv4Address::C |
| uint8 FIPv4Address::D |
|
static |
Defines the internal loopback address, which is 127.0.0.1
|
static |
Defines the broadcast address for the 'zero network' (i.e. LAN), which is 255.255.255.255.
| uint32 FIPv4Address::Value |
The IP address value in host byte order.