alternative Standard Libary  0.29.8
std::net-Namensbereichsreferenz

Klassen

class  end_point
 
class  end_point4
 
class  end_point6
 
class  ip_address4
 
class  ip_address6
 
class  ip_address_base
 
class  Mac48Address
 
class  physicaladdress
 
class  socket
 
struct  SocketInformation
 
class  TcpClient
 
class  TcpClient4
 
class  TcpClient6
 

Aufzählungen

enum  ProcType {
  ProcType::Unknown = -1, ProcType::IP = 0, ProcType::ICMP = 1, ProcType::IGMP = 2,
  ProcType::IPv4 = 4, ProcType::TCP = 6, ProcType::UDP = 17, ProcType::IDP = 22,
  ProcType::IPv6 = 41, ProcType::IPv6RoutingHeader = 43, ProcType::IPv6FragmentHeader = 44, ProcType::IcmpV6 = 58,
  ProcType::IPv6NoNextHeader = 59, ProcType::IPv6DestinationOptions = 60, ProcType::User = 255
}
 
enum  AddrFamily {
  AddrFamily::Unknown =-1, AddrFamily::null = 0, AddrFamily::Unix = 1, AddrFamily::Internet = 2,
  AddrFamily::InternetV6 = 23, AddrFamily::ArpaNet = 3, AddrFamily::IrDa = 4
}
 
enum  SocketTyp {
  SocketTyp::Stream, SocketTyp::Dgram, SocketTyp::Raw, SocketTyp::Rdm,
  SocketTyp::Seqpacket, SocketTyp::Other
}
 
enum  SocketInformationOptions { SocketInformationOptions::NonBlocking = 0x1, SocketInformationOptions::Conected = 0x2, SocketInformationOptions::Listing = 0x4, SocketInformationOptions::UseOnlyOverlappedIO = 0x8 }
 

Funktionen

bool operator== (const ip_address4 &a, const ip_address4 &b)
 
bool operator!= (const ip_address4 &a, const ip_address4 &b)
 
bool operator== (const ip_address6 &a, const ip_address6 &b)
 
bool operator!= (const ip_address6 &a, const ip_address6 &b)
 

Dokumentation der Aufzählungstypen

◆ AddrFamily

enum std::net::AddrFamily
strong
Aufzählungswerte
Unknown 
null 
Unix 
Internet 
InternetV6 
ArpaNet 
IrDa 

◆ ProcType

enum std::net::ProcType
strong
Aufzählungswerte
Unknown 
IP 
ICMP 
IGMP 
IPv4 
TCP 
UDP 
IDP 
IPv6 
IPv6RoutingHeader 
IPv6FragmentHeader 
IcmpV6 
IPv6NoNextHeader 
IPv6DestinationOptions 
User 

◆ SocketInformationOptions

◆ SocketTyp

enum std::net::SocketTyp
strong
Aufzählungswerte
Stream 
Dgram 
Raw 
Rdm 
Seqpacket 
Other 

Dokumentation der Funktionen

◆ operator!=() [1/2]

bool std::net::operator!= ( const ip_address4 a,
const ip_address4 b 
)
inline
80  {
81  return a.get() != b.get();
82  }

◆ operator!=() [2/2]

bool std::net::operator!= ( const ip_address6 a,
const ip_address6 b 
)
inline
132  {
133  return !(a == b);
134  }

◆ operator==() [1/2]

bool std::net::operator== ( const ip_address4 a,
const ip_address4 b 
)
inline
77  {
78  return a.get() == b.get();
79  }

◆ operator==() [2/2]

bool std::net::operator== ( const ip_address6 a,
const ip_address6 b 
)
inline
127  {
128  for(int i =0; i < 8; i++)
129  if (a.get()[i] != b.get()[i]) return false;
130  return a.getscopid() == b.getscopid();
131  }