Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KAddressInfo Class Reference

#include <kextsock.h>

List of all members.

Public Methods

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


Detailed Description

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

Definition at line 971 of file kextsock.h.


Member Function Documentation

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

const char* KAddressInfo::canonname  
 

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

int KAddressInfo::family  
 

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

Returns:
the family of the addres info.

int KAddressInfo::flags  
 

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

Returns:
the flags of the addres info.

int KAddressInfo::length   const [inline]
 

Returns the length of the KSocketAddress.

Returns:
the KSocketAddress's length

Definition at line 1051 of file kextsock.h.

References KSocketAddress::size().

KAddressInfo::operator const addrinfo &   const [inline]
 

Returns the KAddressInfo's addrinfo.

Definition at line 997 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 1004 of file kextsock.h.

KAddressInfo::operator const KSocketAddress *   const [inline]
 

Returns the KAddressInfo's KSocketAddress. Only valid as long as the KAddressInfo exists.

Definition at line 991 of file kextsock.h.

int KAddressInfo::protocol  
 

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

Returns:
the protocol of the addres info.

int KAddressInfo::socktype  
 

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

Returns:
the socket type of the addres info.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:05 2003 for kdelibs by doxygen1.2.18