FInternetAddr::CompareEndpoints

Compares FInternetAddrs together, comparing the logical net addresses (endpoints) of the data stored, rather than doing a memory comparison like the equality operator does.

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/IPAddress.h

Include

#include "IPAddress.h"

Syntax

virtual bool CompareEndpoints
(
    const FInternetAddr & InAddr
) const

Remarks

Compares FInternetAddrs together, comparing the logical net addresses (endpoints) of the data stored, rather than doing a memory comparison like the equality operator does. If it is not explicitly implemented, this falls back to just doing the same behavior of the comparison operator.

InAddr The address to compare with.

Returns

true if the endpoint stored in this FInternetAddr is the same as the input.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss