An OO wrapper for struct sockaddr.
More...
#include <SocketAddress.hxx>
An OO wrapper for struct sockaddr.
Definition at line 46 of file SocketAddress.hxx.
◆ size_type
◆ SocketAddress() [1/3]
SocketAddress::SocketAddress |
( |
| ) |
|
|
default |
◆ SocketAddress() [2/3]
constexpr SocketAddress::SocketAddress |
( |
std::nullptr_t |
| ) |
|
|
inline |
◆ SocketAddress() [3/3]
constexpr SocketAddress::SocketAddress |
( |
const struct sockaddr * |
_address, |
|
|
size_type |
_size |
|
) |
| |
|
inline |
◆ GetAddress()
const struct sockaddr* SocketAddress::GetAddress |
( |
| ) |
const |
|
inline |
◆ GetFamily()
constexpr int SocketAddress::GetFamily |
( |
| ) |
const |
|
inline |
◆ GetSize()
constexpr size_type SocketAddress::GetSize |
( |
| ) |
const |
|
inline |
◆ IsDefined()
bool SocketAddress::IsDefined |
( |
| ) |
const |
|
inline |
Does the object have a well-defined address? Check !IsNull() before calling this method.
Definition at line 91 of file SocketAddress.hxx.
◆ IsNull()
constexpr bool SocketAddress::IsNull |
( |
| ) |
const |
|
inline |
◆ Null()
◆ operator!=()
bool SocketAddress::operator!= |
( |
const SocketAddress |
other | ) |
const |
|
inlinenoexcept |
◆ operator==()
The documentation for this class was generated from the following file: