#include <address.hpp>
◆ ip_address4() [1/4]
std::net::ip_address4::ip_address4 |
( |
| ) |
|
|
inline |
ip_address_base()
Definition: address.hpp:43
◆ ip_address4() [2/4]
std::net::ip_address4::ip_address4 |
( |
int |
address | ) |
|
40 m_address = (long)addr & 0x00000000FFFFFFFF;
ip_address_base()
Definition: address.hpp:43
◆ ip_address4() [3/4]
std::net::ip_address4::ip_address4 |
( |
const ip_address4 & |
v | ) |
|
48 m_address = v.m_address;
ip_address_base()
Definition: address.hpp:43
◆ ip_address4() [4/4]
std::net::ip_address4::ip_address4 |
( |
unsigned short |
addr[4] | ) |
|
|
explicit |
◆ get()
long std::net::ip_address4::get |
( |
| ) |
|
◆ getaddress()
void std::net::ip_address4::getaddress |
( |
unsigned short |
b[4] | ) |
|
51 b[0] = (
unsigned short)(m_address);
52 b[1] = (
unsigned short)(m_address >> 8);
53 b[2] = (
unsigned short)(m_address >> 16);
54 b[3] = (
unsigned short)(m_address >> 24);
◆ getFamily()
virtual AddrFamily std::net::ip_address_base::getFamily |
( |
| ) |
|
|
inlinevirtualinherited |
AddrFamily m_addr
Definition: address.hpp:51
◆ operator=()
65 m_address = v.m_address;
return *
this;
◆ parse()
79 const char* s_ip = _ip.c_str();
81 unsigned char * c_ip = (
unsigned char *)&ip;
82 sscanf(s_ip,
"%hhu.%hhu.%hhu.%hhu", &c_ip[3], &c_ip[2], &c_ip[1], &c_ip[0]);
ip_address4()
Definition: address.hpp:60
◆ set()
void std::net::ip_address4::set |
( |
long |
value | ) |
|
58 if(!(value < 0 || value > 0x00000000FFFFFFFF))
◆ to_string()
70 (m_address >> 24) & 0xFF,
71 (m_address >> 16) & 0xFF,
72 (m_address >> 8) & 0xFF,
size_t frmstring(basic_string< E, TAllocator, TStorage > &dest, const char *format, va_list arg)
Definition: string.hpp:99
◆ Any
◆ BroadCast
◆ Loop
◆ m_addr
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: