kdecore Library API Documentation

KAddressInfo Class Reference

#include <kextsock.h>

List of all members.

Public Member Functions

 ~KAddressInfo ()
KDE_DEPRECATED operator const ::KSocketAddress * () const
KDE_DEPRECATED operator const addrinfo & () const
KDE_DEPRECATED operator const addrinfo * () const
KDE_DEPRECATEDconst ::KSocketAddressaddress () const
int flags () const KDE_DEPRECATED
int family () const KDE_DEPRECATED
int socktype () const KDE_DEPRECATED
int protocol () const KDE_DEPRECATED
const char * canonname () const KDE_DEPRECATED
int length () const

Friends

class KExtendedSocket


Detailed Description

Deprecated:
This class is now deprecated.
Please see KNetwork::KResolver for the new API.

Contains information about an internet address. It wraps addrinfo, see getaddrinfo(3) for more information.

Definition at line 1022 of file kextsock.h.


Member Function Documentation

KDE_DEPRECATED KAddressInfo::operator const ::KSocketAddress *  )  const [inline]
 

Returns the KAddressInfo's KSocketAddress.

Only valid as long as the KAddressInfo exists.

Definition at line 1042 of file kextsock.h.

KDE_DEPRECATED KAddressInfo::operator const addrinfo &  )  const [inline]
 

Returns the KAddressInfo's addrinfo.

Definition at line 1048 of file kextsock.h.

KDE_DEPRECATED KAddressInfo::operator const addrinfo *  )  const [inline]
 

Returns a pointer to KAddressInfo's addrinfo.

Only valid as long as the KAddressInfo exists.

Definition at line 1055 of file kextsock.h.

KDE_DEPRECATEDconst ::KSocketAddress* KAddressInfo::address  )  const [inline]
 

Returns the KAddressInfo's KSocketAddress.

Only valid as long as the KAddressInfo exists.

Returns:
the KAddressInfo's KSocketAddress.

Definition at line 1063 of file kextsock.h.

int KAddressInfo::flags  )  const
 

Returns the flags of the address info (see getaddrinfo(3)).

Returns:
the flags of the addres info.

Definition at line 2197 of file kextsock.cpp.

References addrinfo::ai_flags.

int KAddressInfo::family  )  const
 

Returns the family of the address info (see getaddrinfo(3)).

Returns:
the family of the addres info.

Definition at line 2202 of file kextsock.cpp.

References addrinfo::ai_family.

int KAddressInfo::socktype  )  const
 

Returns the socket type of the address info (see getaddrinfo(3)).

Returns:
the socket type of the addres info.

Definition at line 2207 of file kextsock.cpp.

References addrinfo::ai_socktype.

int KAddressInfo::protocol  )  const
 

Returns the protocol of the address info (see getaddrinfo(3)).

Returns:
the protocol of the addres info.

Definition at line 2212 of file kextsock.cpp.

References addrinfo::ai_protocol.

const char * KAddressInfo::canonname  )  const
 

Returns the official name of the host (see getaddrinfo(3)).

Only valid as long as the KAddressInfo exists.

Returns:
the official name of the host

Definition at line 2217 of file kextsock.cpp.

References addrinfo::ai_canonname.

int KAddressInfo::length  )  const [inline]
 

Returns the length of the KSocketAddress.

Returns:
the KSocketAddress's length

Definition at line 1102 of file kextsock.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 08:00:52 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003