![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Socket name; container class for an IP address and port.
Contained in: global
Derived from:
none
Derived by:
none
Group: Network (Sockets)
#include <ClanLib/network.h>
public function member index: |
||
Construction: |
||
CL_IPAddress | (); | |
CL_IPAddress | (unsigned short port); | |
CL_IPAddress | (void* address); | |
CL_IPAddress | (unsigned int address, unsigned short port); | |
CL_IPAddress | (const std::string& hostname, unsigned short port); | |
CL_IPAddress | (const CL_IPAddress& copy); | |
Attributes: |
||
unsigned int | get_address | () const; |
unsigned int* | get_address6 | () const; |
unsigned short | get_port | () const; |
unsigned char& | operator [] | (int i); |
const unsigned char& | operator [] | (int i) const; |
bool | operator == | (const CL_IPAddress& other_instance) const; |
bool | operator < | (const CL_IPAddress& other_instance) const; |
bool | operator > | (const CL_IPAddress& other_instance) const; |
Operations: |
||
void | set_address | (unsigned int new_ip); |
void | set_address | (const std::string& hostname); |
void | set_port | (unsigned short new_port); |
std::string | dns_lookup | () const; |