a Generic Socket Address
Wraps a struct sockaddr.
◆ Family()
uint16_t ola::network::GenericSocketAddress::Family |
( |
| ) |
const |
|
inlinevirtual |
◆ ToSockAddr()
bool ola::network::GenericSocketAddress::ToSockAddr |
( |
struct sockaddr * | addr, |
|
|
unsigned int | size ) const |
|
inlinevirtual |
◆ ToString()
string ola::network::GenericSocketAddress::ToString |
( |
| ) |
const |
|
virtual |
◆ V4Addr()
Convert the sockaddr to a sockaddr_in. The caller should check that Family() is AF_INET before calling this.
The documentation for this class was generated from the following files: