KDECore
k3socketaddress.h
Go to the documentation of this file.
414class KDECORE_EXPORT_DEPRECATED KSocketAddress //krazy:exclude=dpointer (we got one, just not called Private)
bool isSiteLocal() const
Returns true if this is an IPv6 site-local address.
Definition: k3socketaddress.h:321
bool isMulticastOrgLocal() const
Returns true if this is an IPv6 organisational-local multicast address.
Definition: k3socketaddress.h:378
KIpAddress(const void *addr, int version=4)
Creates an object from the given raw data and IP version.
Definition: k3socketaddress.h:109
bool isClassC() const
Returns true if this is an IPv4 class C address, i.e., one from 192.0.0.0 to 223.255....
Definition: k3socketaddress.h:285
bool isClassB() const
Returns true if this is an IPv4 class B address, i.e., one from 128.0.0.0 to 191.255....
Definition: k3socketaddress.h:276
bool isLocalhost() const
Returns true if this is either the IPv4 or the IPv6 localhost address.
Definition: k3socketaddress.h:252
quint32 IPv4Addr(bool convertMapped=true) const
This is a convenience function.
Definition: k3socketaddress.h:236
const void * addr() const
Returns a pointer to binary raw data representing the address.
Definition: k3socketaddress.h:220
bool isLinkLocal() const
Returns true if this is an IPv6 link-local address.
Definition: k3socketaddress.h:310
bool isMulticastSiteLocal() const
Returns true if this is an IPv6 site-local multicast address.
Definition: k3socketaddress.h:372
bool isMulticast() const
Returns true if this is a multicast address, be it IPv4 or IPv6.
Definition: k3socketaddress.h:300
bool isMulticastNodeLocal() const
Returns true if this is an IPv6 node-local multicast address.
Definition: k3socketaddress.h:360
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 isV4Compat() const
Returns true if this is a v4-compat IPv6 address.
Definition: k3socketaddress.h:350
KIpAddress(const QString &addr)
Creates an object from the given string representation.
Definition: k3socketaddress.h:90
bool isClassD() const
Returns true if this is an IPv4 class D (a.k.a.
Definition: k3socketaddress.h:294
bool isGlobal() const
Returns true if this is a global IPv6 address.
Definition: k3socketaddress.h:332
static const KIpAddress anyhostV6
the any host or undefined address in IPv6 (::)
Definition: k3socketaddress.h:401
static const KIpAddress anyhostV4
the any host or undefined address in IPv4 (0.0.0.0)
Definition: k3socketaddress.h:396
bool isMulticastGlobal() const
Returns true if this is an IPv6 global multicast address.
Definition: k3socketaddress.h:384
bool isV4Mapped() const
Returns true if this is a v4-mapped IPv6 address.
Definition: k3socketaddress.h:338
bool isClassA() const
Returns true if this is an IPv4 class A address, i.e., from 0.0.0.0 to 127.255.255....
Definition: k3socketaddress.h:267
KIpAddress(const char *addr)
Creates an object from the given string representation.
Definition: k3socketaddress.h:100
int ianaFamily() const
Returns the IANA family number of this address.
Definition: k3socketaddress.h:541
A namespace to store all networking-related (socket) classes.
Definition: k3bufferedsocket.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.