Sophie

Sophie

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

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

\section{ost::UDPBroadcast Class Reference}
\label{classost_1_1_u_d_p_broadcast}\index{ost::UDPBroadcast@{ost::UDPBroadcast}}
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and set\-Peer() capability for UDP sockets.Unreliable Datagram for subnet broadcasts.  


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

Inheritance diagram for ost::UDPBroadcast::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{classost_1_1_u_d_p_broadcast}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf UDPBroadcast} (const {\bf IPV4Address} \&ia, {\bf tpport\_\-t} port)
\begin{CompactList}\small\item\em Create and bind a subnet broadcast socket. \item\end{CompactList}\item 
void {\bf set\-Peer} (const {\bf IPV4Broadcast} \&subnet, {\bf tpport\_\-t} port)
\begin{CompactList}\small\item\em Set peer by subnet rather than specific host. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and set\-Peer() capability for UDP sockets.Unreliable Datagram for subnet broadcasts. 

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




\subsection{Constructor \& Destructor Documentation}
\index{ost::UDPBroadcast@{ost::UDPBroadcast}!UDPBroadcast@{UDPBroadcast}}
\index{UDPBroadcast@{UDPBroadcast}!ost::UDPBroadcast@{ost::UDPBroadcast}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::UDPBroadcast::UDPBroadcast (const {\bf IPV4Address} \& {\em ia}, {\bf tpport\_\-t} {\em port})}\label{classost_1_1_u_d_p_broadcast_b90eb33312a96e53cb8d406d46e03a74}


Create and bind a subnet broadcast socket. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em ia}]address to bind socket under locally. \item[{\em port}]to bind socket under locally. \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\index{ost::UDPBroadcast@{ost::UDPBroadcast}!setPeer@{setPeer}}
\index{setPeer@{setPeer}!ost::UDPBroadcast@{ost::UDPBroadcast}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::UDPBroadcast::set\-Peer (const {\bf IPV4Broadcast} \& {\em subnet}, {\bf tpport\_\-t} {\em port})}\label{classost_1_1_u_d_p_broadcast_b9d882b7f6bdcae59d1971c5ec686532}


Set peer by subnet rather than specific host. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subnet}]of peer hosts to send to. \item[{\em port}]number to use. \end{description}
\end{Desc}


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