Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 682

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::IPV6Host Class Reference}
\label{classost_1_1_i_p_v6_host}\index{ost::IPV6Host@{ost::IPV6Host}}
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.Address of a specific Internet host machine.  


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

Inheritance diagram for ost::IPV6Host::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classost_1_1_i_p_v6_host}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf IPV6Host} (const char $\ast$host=NULL)
\begin{CompactList}\small\item\em Create a new host address for a specific internet host. \item\end{CompactList}\item 
{\bf IPV6Host} (struct in6\_\-addr addr)
\begin{CompactList}\small\item\em Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address object. \item\end{CompactList}\item 
{\bf IPV6Host} \& {\bf operator \&=} (const {\bf IPV6Mask} \&mask)
\begin{CompactList}\small\item\em Mask the internet host address object with a network mask address. \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class \_\-\_\-EXPORT {\bf IPV6Mask}
\item 
\_\-\_\-EXPORT {\bf IPV6Host} {\bf operator \&} (const {\bf IPV6Host} \&addr, const {\bf IPV6Mask} \&mask)
\end{CompactItemize}


\subsection{Detailed Description}
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.Address of a specific Internet host machine. 

\begin{Desc}
\item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::IPV6Host@{ost::IPV6Host}!IPV6Host@{IPV6Host}}
\index{IPV6Host@{IPV6Host}!ost::IPV6Host@{ost::IPV6Host}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::IPV6Host::IPV6Host (const char $\ast$ {\em host} = {\tt NULL})}\label{classost_1_1_i_p_v6_host_4f8340d0128b6075701b416459399d62}


Create a new host address for a specific internet host. 

The internet host can be specified in a null terminated ASCII string and include either the physical host address or the DNS name of a host machine. Hence, an {\bf IPV6Host}{\rm (p.\,\pageref{classost_1_1_i_p_v6_host})} (\char`\"{}www.voxilla.org\char`\"{}) can be directly declaired in this manner.

Defaults to the IP address that represents the interface matching \char`\"{}gethostname()\char`\"{}.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em host}]dns or physical address of an Internet host. \end{description}
\end{Desc}
\index{ost::IPV6Host@{ost::IPV6Host}!IPV6Host@{IPV6Host}}
\index{IPV6Host@{IPV6Host}!ost::IPV6Host@{ost::IPV6Host}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::IPV6Host::IPV6Host (struct in6\_\-addr {\em addr})}\label{classost_1_1_i_p_v6_host_62b15a41116637b5a0e86a1acfc8b01a}


Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em addr}]binary address of internet host. \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\index{ost::IPV6Host@{ost::IPV6Host}!operator &=@{operator \&=}}
\index{operator &=@{operator \&=}!ost::IPV6Host@{ost::IPV6Host}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf IPV6Host}\& ost::IPV6Host::operator \&= (const {\bf IPV6Mask} \& {\em mask})}\label{classost_1_1_i_p_v6_host_dba71fec8214dab641a370e6d7648082}


Mask the internet host address object with a network mask address. 

This is commonly used to coerce an address by subnet. 

\subsection{Friends And Related Function Documentation}
\index{ost::IPV6Host@{ost::IPV6Host}!IPV6Mask@{IPV6Mask}}
\index{IPV6Mask@{IPV6Mask}!ost::IPV6Host@{ost::IPV6Host}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class \_\-\_\-EXPORT {\bf IPV6Mask}\hspace{0.3cm}{\tt  [friend]}}\label{classost_1_1_i_p_v6_host_49496345b8abbec276f6c25a0fbdffe5}


\index{ost::IPV6Host@{ost::IPV6Host}!operator &@{operator \&}}
\index{operator &@{operator \&}!ost::IPV6Host@{ost::IPV6Host}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\_\-\_\-EXPORT {\bf IPV6Host} operator \& (const {\bf IPV6Host} \& {\em addr}, const {\bf IPV6Mask} \& {\em mask})\hspace{0.3cm}{\tt  [friend]}}\label{classost_1_1_i_p_v6_host_a549218f4f7a926f01f9f62cacbbffb6}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf address.h}\end{CompactItemize}