\section{KAddress\-Info Class Reference}
\label{classKAddressInfo}\index{KAddressInfo@{KAddressInfo}}
Contains information about an internet address.  


{\tt \#include $<$kextsock.h$>$}

Collaboration diagram for KAddress\-Info:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=63pt]{classKAddressInfo__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf operator const KSocket\-Address $\ast$} () const 
\begin{CompactList}\small\item\em Returns the KAddress\-Info's {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. \item\end{CompactList}\item 
{\bf operator const addrinfo \&} () const 
\begin{CompactList}\small\item\em Returns the KAddress\-Info's addrinfo. \item\end{CompactList}\item 
{\bf operator const addrinfo $\ast$} () const 
\begin{CompactList}\small\item\em Returns a pointer to KAddress\-Info's addrinfo. \item\end{CompactList}\item 
const  {\bf KSocket\-Address} $\ast$ {\bf address} () const 
\begin{CompactList}\small\item\em Returns the KAddress\-Info's {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. \item\end{CompactList}\item 
int {\bf flags} () const 
\begin{CompactList}\small\item\em Returns the flags of the address info (see getaddrinfo(3)). \item\end{CompactList}\item 
int {\bf family} () const 
\begin{CompactList}\small\item\em Returns the family of the address info (see getaddrinfo(3)). \item\end{CompactList}\item 
int {\bf socktype} () const 
\begin{CompactList}\small\item\em Returns the socket type of the address info (see getaddrinfo(3)). \item\end{CompactList}\item 
int {\bf protocol} () const 
\begin{CompactList}\small\item\em Returns the protocol of the address info (see getaddrinfo(3)). \item\end{CompactList}\item 
const  char $\ast$ {\bf canonname} () const 
\begin{CompactList}\small\item\em Returns the official name of the host (see getaddrinfo(3)). \item\end{CompactList}\item 
int {\bf length} () const 
\begin{CompactList}\small\item\em Returns the length of the {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf KExtended\-Socket}\label{classKAddressInfo_n0}

\end{CompactItemize}


\subsection{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.

\subsection{Member Function Documentation}
\index{KAddressInfo@{KAddress\-Info}!operator const KSocketAddress *@{operator const KSocketAddress $\ast$}}
\index{operator const KSocketAddress *@{operator const KSocketAddress $\ast$}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAddress\-Info::operator const {\bf KSocket\-Address} $\ast$ () const\hspace{0.3cm}{\tt  [inline]}}\label{classKAddressInfo_a1}


Returns the KAddress\-Info's {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. 

Only valid as long as the KAddress\-Info exists. 

Definition at line 991 of file kextsock.h.\index{KAddressInfo@{KAddress\-Info}!operator const addrinfo &@{operator const addrinfo \&}}
\index{operator const addrinfo &@{operator const addrinfo \&}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAddress\-Info::operator const addrinfo \& () const\hspace{0.3cm}{\tt  [inline]}}\label{classKAddressInfo_a2}


Returns the KAddress\-Info's addrinfo. 



Definition at line 997 of file kextsock.h.\index{KAddressInfo@{KAddress\-Info}!operator const addrinfo *@{operator const addrinfo $\ast$}}
\index{operator const addrinfo *@{operator const addrinfo $\ast$}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAddress\-Info::operator const addrinfo $\ast$ () const\hspace{0.3cm}{\tt  [inline]}}\label{classKAddressInfo_a3}


Returns a pointer to KAddress\-Info's addrinfo. 

Only valid as long as the KAddress\-Info exists. 

Definition at line 1004 of file kextsock.h.\index{KAddressInfo@{KAddress\-Info}!address@{address}}
\index{address@{address}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf KSocket\-Address}$\ast$ KAddress\-Info::address () const\hspace{0.3cm}{\tt  [inline]}}\label{classKAddressInfo_a4}


Returns the KAddress\-Info's {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. 

Only valid as long as the KAddress\-Info exists. \begin{Desc}
\item[Returns:]the KAddress\-Info's {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. \end{Desc}


Definition at line 1012 of file kextsock.h.\index{KAddressInfo@{KAddress\-Info}!flags@{flags}}
\index{flags@{flags}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAddress\-Info::flags () const}\label{classKAddressInfo_a5}


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

\begin{Desc}
\item[Returns:]the flags of the addres info. \end{Desc}


Definition at line 2470 of file kextsock.cpp.\index{KAddressInfo@{KAddress\-Info}!family@{family}}
\index{family@{family}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAddress\-Info::family () const}\label{classKAddressInfo_a6}


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

\begin{Desc}
\item[Returns:]the family of the addres info. \end{Desc}


Definition at line 2475 of file kextsock.cpp.\index{KAddressInfo@{KAddress\-Info}!socktype@{socktype}}
\index{socktype@{socktype}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAddress\-Info::socktype () const}\label{classKAddressInfo_a7}


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

\begin{Desc}
\item[Returns:]the socket type of the addres info. \end{Desc}


Definition at line 2480 of file kextsock.cpp.\index{KAddressInfo@{KAddress\-Info}!protocol@{protocol}}
\index{protocol@{protocol}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAddress\-Info::protocol () const}\label{classKAddressInfo_a8}


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

\begin{Desc}
\item[Returns:]the protocol of the addres info. \end{Desc}


Definition at line 2485 of file kextsock.cpp.\index{KAddressInfo@{KAddress\-Info}!canonname@{canonname}}
\index{canonname@{canonname}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  char $\ast$ KAddress\-Info::canonname () const}\label{classKAddressInfo_a9}


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

Only valid as long as the KAddress\-Info exists. \begin{Desc}
\item[Returns:]the official name of the host \end{Desc}


Definition at line 2490 of file kextsock.cpp.\index{KAddressInfo@{KAddress\-Info}!length@{length}}
\index{length@{length}!KAddressInfo@{KAddress\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAddress\-Info::length () const\hspace{0.3cm}{\tt  [inline]}}\label{classKAddressInfo_a10}


Returns the length of the {\bf KSocket\-Address}{\rm (p.\,\pageref{classKSocketAddress})}. 

\begin{Desc}
\item[Returns:]the KSocket\-Address's length \end{Desc}


Definition at line 1051 of file kextsock.h.

References KSocket\-Address::size().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kextsock.h\item 
kextsock.cpp\end{CompactItemize}
