KDECore
k3socketaddress.h
Go to the documentation of this file.
414 class KDECORE_EXPORT_DEPRECATED KSocketAddress //krazy:exclude=dpointer (we got one, just not called Private)
static const KIpAddress anyhostV6
the any host or undefined address in IPv6 (::)
Definition: k3socketaddress.h:401
bool isSiteLocal() const
Returns true if this is an IPv6 site-local address.
Definition: k3socketaddress.h:321
bool isV4Compat() const
Returns true if this is a v4-compat IPv6 address.
Definition: k3socketaddress.h:350
bool isMulticastSiteLocal() const
Returns true if this is an IPv6 site-local multicast address.
Definition: k3socketaddress.h:372
bool isMulticastNodeLocal() const
Returns true if this is an IPv6 node-local multicast address.
Definition: k3socketaddress.h:360
bool isClassB() const
Returns true if this is an IPv4 class B address, i.e., one from 128.0.0.0 to 191.255.255.255.
Definition: k3socketaddress.h:276
bool isUnspecified() const
Returns true if this is the IPv4 or IPv6 unspecified address.
Definition: k3socketaddress.h:246
bool isMulticastLinkLocal() const
Returns true if this is an IPv6 link-local multicast address.
Definition: k3socketaddress.h:366
bool isLinkLocal() const
Returns true if this is an IPv6 link-local address.
Definition: k3socketaddress.h:310
const void * addr() const
Returns a pointer to binary raw data representing the address.
Definition: k3socketaddress.h:220
bool isClassD() const
Returns true if this is an IPv4 class D (a.k.a.
Definition: k3socketaddress.h:294
bool isClassC() const
Returns true if this is an IPv4 class C address, i.e., one from 192.0.0.0 to 223.255.255.255.
Definition: k3socketaddress.h:285
static const KIpAddress anyhostV4
the any host or undefined address in IPv4 (0.0.0.0)
Definition: k3socketaddress.h:396
int ianaFamily() const
Returns the IANA family number of this address.
Definition: k3socketaddress.h:541
bool isMulticastOrgLocal() const
Returns true if this is an IPv6 organisational-local multicast address.
Definition: k3socketaddress.h:378
bool isV4Mapped() const
Returns true if this is a v4-mapped IPv6 address.
Definition: k3socketaddress.h:338
KIpAddress(const void *addr, int version=4)
Creates an object from the given raw data and IP version.
Definition: k3socketaddress.h:109
unsigned int version()
Returns the encoded number of KDE's version, see the KDE_VERSION macro.
Definition: kdeversion.cpp:24
KIpAddress(const char *addr)
Creates an object from the given string representation.
Definition: k3socketaddress.h:100
bool isMulticastGlobal() const
Returns true if this is an IPv6 global multicast address.
Definition: k3socketaddress.h:384
quint32 IPv4Addr(bool convertMapped=true) const
This is a convenience function.
Definition: k3socketaddress.h:236
bool isMulticast() const
Returns true if this is a multicast address, be it IPv4 or IPv6.
Definition: k3socketaddress.h:300
bool isClassA() const
Returns true if this is an IPv4 class A address, i.e., from 0.0.0.0 to 127.255.255.255.
Definition: k3socketaddress.h:267
KIpAddress(const QString &addr)
Creates an object from the given string representation.
Definition: k3socketaddress.h:90
bool isGlobal() const
Returns true if this is a global IPv6 address.
Definition: k3socketaddress.h:332
bool isLocalhost() const
Returns true if this is either the IPv4 or the IPv6 localhost address.
Definition: k3socketaddress.h:252
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.