#include <MXNetwork/include/mxnetwork/socket.hpp>
Definition at line 12 of file socket.hpp.
◆ operator==()
| bool mxnetwork::SocketAddress::operator== |
( |
const SocketAddress & | other | ) |
const |
|
nodiscard |
Definition at line 9 of file socket.cpp.
9 {
10 return value.length == other.value.length &&
value.length > 0 &&
11 std::memcmp(&
value.storage, &other.value.storage,
static_cast<std::size_t
>(
value.length)) == 0;
12 }
◆ valid()
| bool mxnetwork::SocketAddress::valid |
( |
| ) |
const |
|
inlinenodiscard |
◆ value
The documentation for this struct was generated from the following files: