kdecore Library API Documentation

KAddressInfo Class Reference

#include <kextsock.h>

List of all members.

Public Member Functions

 operator const ::KSocketAddress * () const
 operator const addrinfo & () const
 operator const addrinfo * () const
const::KSocketAddress * address () const
int flags () const
int family () const
int socktype () const
int protocol () const
const char * canonname () const
int length () const


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 1019 of file kextsock.h.


Member Function Documentation

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

Returns the KAddressInfo's KSocketAddress.

Only valid as long as the KAddressInfo exists. Definition at line 1039 of file kextsock.h.

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

Returns the KAddressInfo's addrinfo.

Definition at line 1045 of file kextsock.h.

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

Returns a pointer to KAddressInfo's addrinfo.

Only valid as long as the KAddressInfo exists. Definition at line 1052 of file kextsock.h.

const ::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 1060 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 2182 of file kextsock.cpp.

int KAddressInfo::family  )  const
 

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

Returns:
the family of the addres info.
Definition at line 2187 of file kextsock.cpp.

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 2192 of file kextsock.cpp.

int KAddressInfo::protocol  )  const
 

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

Returns:
the protocol of the addres info.
Definition at line 2197 of file kextsock.cpp.

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 2202 of file kextsock.cpp.

int KAddressInfo::length  )  const [inline]
 

Returns the length of the KSocketAddress.

Returns:
the KSocketAddress's length
Definition at line 1099 of file kextsock.h.

References KSocketAddress::size().


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.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Sep 29 09:43:13 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003