#include <dashel.h>
Public Member Functions | |
| IPV4Address (unsigned addr=0, unsigned short prt=0) | |
| Constructor. Numeric argument. | |
| IPV4Address (const std::string &name, unsigned short port) | |
| Constructor. String address, do resolution. | |
| bool | operator== (const IPV4Address &o) const |
| Equality operator. | |
| bool | operator< (const IPV4Address &o) const |
| Less than operator. | |
| std::string | format () const |
| Return Dashel string form. | |
| std::string | hostname () const |
| Return the hostname corresponding to the address. | |
Public Attributes | |
| unsigned | address |
| IP host address. Stored in local byte order. | |
| unsigned short | port |
| IP port. Stored in local byte order. | |
1.5.1