#include <socket.hpp>
Public Member Functions | |
| Address (const char *const host, const unsigned short port) | |
| Address (const sockaddr_in &addr) | |
| Address () | |
| bool | isValid () const |
| bool | setHost (const char *const host) |
| void | setPort (const unsigned short port) |
| unsigned short | port () const |
| const sockaddr * | addr () const |
| socklen_t | addrLength () const |
| const char * | ip () const |
| Address::Address | ( | const char *const | host, |
| const unsigned short | port | ||
| ) |
| Address::Address | ( | const sockaddr_in & | addr | ) |
| Address::Address | ( | ) |
| const sockaddr* Address::addr | ( | ) | const |
| socklen_t Address::addrLength | ( | ) | const |
| const char* Address::ip | ( | ) | const |
| bool Address::isValid | ( | ) | const |
| unsigned short Address::port | ( | ) | const |
| bool Address::setHost | ( | const char *const | host | ) |
| void Address::setPort | ( | const unsigned short | port | ) |