FIPv4Address::Parse

Converts a string to an IPv4 address.

Choose your operating system:

Windows

macOS

Linux

References

Module

Networking

Header

/Engine/Source/Runtime/Networking/Public/Interfaces/IPv4/IPv4Address.h

Include

#include "Interfaces/IPv4/IPv4Address.h"

Source

/Engine/Source/Runtime/Networking/Private/IPv4/IPv4Address.cpp

Syntax

static bool Parse
(
    const FString & AddressString,
    FIPv4Address & OutAddress
)

Remarks

Converts a string to an IPv4 address.

Returns

true if the string was converted successfully, false otherwise.

Parameters

Parameter

Description

AddressString

The string to convert.

OutAddress

Will contain the parsed address.

See Also