Navigation
Unreal Engine C++ API Reference > Runtime > Sockets
Inheritance Hierarchy
- FInternetAddr
- FInternetAddrDemo
- FInternetAddrEOS
References
Module | Sockets |
Header | /Engine/Source/Runtime/Sockets/Public/IPAddress.h |
Include | #include "IPAddress.h" |
Syntax
class FInternetAddr
Remarks
Represents an internet address. All data is in network byte order
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Hidden on purpose |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TSharedRef< FInternetAddr > | Clone () |
Creates a new structure with the same data as this structure |
![]() ![]() ![]() |
bool | CompareEndpoints
(
const FInternetAddr& InAddr |
Compares FInternetAddrs together, comparing the logical net addresses (endpoints) of the data stored, rather than doing a memory comparison like the equality operator does. |
![]() ![]() ![]() |
void | DumpAddrData () |
|
![]() ![]() |
void | GetIp
(
uint32& OutAddr |
Copies the network byte order ip address to a host byte order dword |
![]() ![]() ![]() |
int32 | Get platform specific port data. | |
![]() ![]() ![]() |
void | GetPort
(
int32& OutPort |
Copies the port number from this address and places it into a host byte order int |
![]() ![]() |
int32 | GetPort () |
Returns the port number from this address in host byte order |
![]() ![]() ![]() |
FName | Returns the protocol type name of the address data currently stored in this struct | |
![]() ![]() |
TArray< uint8 > | GetRawIp () |
Gets the ip address in a raw array stored in network byte order. |
![]() ![]() |
uint32 | GetTypeHash () |
Hash function for use with TMap's - exposed through FInternetAddrMapRef |
![]() ![]() ![]() |
bool | IsPortValid
(
int32 InPort |
Report whether the port is in a valid range for SetPort. |
![]() ![]() |
bool | IsValid () |
Is this a well formed internet address |
![]() |
void | Sets the address to be any address | |
![]() |
void | Sets the address to broadcast | |
![]() |
void | SetIp
(
uint32 InAddr |
Sets the ip address from a host byte order uint32 |
![]() |
void | SetIp
(
const TCHAR* InAddr, |
Sets the ip address from a string ("A.B.C.D") |
![]() |
void | Sets the address to loopback | |
![]() ![]() |
void | SetPlatformPort
(
int32 InPort |
Set Platform specific port data |
![]() |
void | SetPort
(
int32 InPort |
Sets the port number from a host byte order int |
![]() |
void | Sets the ip address from a raw network byte order array. | |
![]() ![]() |
FString | ToString
(
bool bAppendPort |
Converts this internet ip address to string form |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | operator==
(
const FInternetAddr& Other |
Compares two internet ip addresses for equality |