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