Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FInternetAddr
Description
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.
@Param InAddr The address to compare with.
| Name | CompareEndpoints |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/IPAddress.h |
| Include Path | #include "IPAddress.h" |
virtual bool CompareEndpoints
(
const FInternetAddr & InAddr
) const
true if the endpoint stored in this FInternetAddr is the same as the input.