#include <ip_address.h>
Public Methods | |
| CL_IPAddress () | |
| Construction:. | |
| CL_IPAddress (unsigned int address, unsigned short port) | |
| CL_IPAddress (const std::string &hostname, unsigned short port) | |
| CL_IPAddress (const CL_IPAddress ©) | |
| unsigned int | get_address () const |
| Attributes:. | |
| unsigned short | get_port () const |
| unsigned char& | operator[] (int i) |
| const unsigned char& | operator[] (int i) const |
| void | set_address (unsigned int new_ip) |
| Operations:. | |
| void | set_address (const std::string &hostname) |
| void | set_port (unsigned short new_port) |
| std::string | dns_lookup () const |
Private Attributes | |
| unsigned int | ip |
| Implementation:. | |
| unsigned short | port |
Definition at line 9 of file ip_address.h.
|
|
Construction:.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes:.
Definition at line 28 of file ip_address.h. |
|
|
Definition at line 31 of file ip_address.h. |
|
|
Definition at line 37 of file ip_address.h. |
|
|
Definition at line 34 of file ip_address.h. |
|
|
|
|
|
Operations:.
Definition at line 42 of file ip_address.h. |
|
|
Definition at line 48 of file ip_address.h. |
|
|
Implementation:.
Definition at line 56 of file ip_address.h. |
|
|
Definition at line 59 of file ip_address.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001