An IPv4 SocketAddress.
Wraps a sockaddr_in.
◆ 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 |
The documentation for this class was generated from the following files: