Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FInternetAddr
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetIp
(
uint32 InAddr |
Sets the ip address from a host byte order uint32 | IPAddress.h | |
void SetIp
(
const TCHAR* InAddr, |
Sets the ip address from a string ("A.B.C.D") | IPAddress.h |
SetIp(uint32)
Description
Sets the ip address from a host byte order uint32
| Name | SetIp |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/IPAddress.h |
| Include Path | #include "IPAddress.h" |
void SetIp
(
uint32 InAddr
)
Parameters
| Name | Remarks |
|---|---|
| InAddr | the new address to use (must convert to network byte order) |
SetIp(const TCHAR *, bool &)
Description
Sets the ip address from a string ("A.B.C.D")
| Name | SetIp |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/IPAddress.h |
| Include Path | #include "IPAddress.h" |
void SetIp
(
const TCHAR * InAddr,
bool & bIsValid
)
Parameters
| Name | Remarks |
|---|---|
| InAddr | the string containing the new ip address to use |