An IPv4 SocketAddress.
Wraps a sockaddr_in.
◆ Family()
uint16_t ola::network::IPV4SocketAddress::Family |
( |
| ) |
const |
|
inlinevirtual |
◆ FromString()
bool ola::network::IPV4SocketAddress::FromString |
( |
const std::string & | str, |
|
|
IPV4SocketAddress * | socket_address ) |
|
static |
◆ operator<()
bool ola::network::IPV4SocketAddress::operator< |
( |
const IPV4SocketAddress & | other | ) |
const |
|
inline |
Less than operator for partial ordering.
Sorts by host, then port.
◆ operator>()
bool ola::network::IPV4SocketAddress::operator> |
( |
const IPV4SocketAddress & | other | ) |
const |
|
inline |
Greater than operator.
Sorts by host, then port.
◆ ToSockAddr()
bool ola::network::IPV4SocketAddress::ToSockAddr |
( |
struct sockaddr * | addr, |
|
|
unsigned int | size ) const |
|
virtual |
◆ ToString()
string ola::network::IPV4SocketAddress::ToString |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: