VideoTools
|
A 'sockaddr' wrapper class for IPv4 addresses. More...
#include <gaddress4.h>
Classes | |
union | union_type |
Used by GNet::Address4 to cast between sockaddr and sockaddr_in. More... | |
Public Types | |
typedef sockaddr | general_type |
typedef sockaddr_in | specific_type |
typedef sockaddr | storage_type |
Public Member Functions | |
Address4 (unsigned int) | |
Address4 (const std::string &) | |
Address4 (const std::string &, const std::string &) | |
Address4 (const std::string &, unsigned int) | |
Address4 (unsigned int port, int) | |
Address4 (const sockaddr *addr, socklen_t len) | |
Address4 (const Address4 &other) | |
const sockaddr * | address () const |
sockaddr * | address () |
unsigned int | port () const |
void | setPort (unsigned int port) |
bool | same (const Address4 &other) const |
bool | sameHostPart (const Address4 &other) const |
bool | isLoopback () const |
bool | isLocal (std::string &) const |
std::string | displayString () const |
std::string | hostPartString () const |
G::StringArray | wildcards () const |
A 'sockaddr' wrapper class for IPv4 addresses.
Definition at line 38 of file gaddress4.h.