Sophie

Sophie

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

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

\section{socket.h File Reference}
\label{socket_8h}\index{socket.h@{socket.h}}
Network addresses and sockets related classes. 

{\tt \#include $<$cc++/address.h$>$}\par
\subsection*{Namespaces}
\begin{CompactItemize}
\item 
namespace {\bf ost}
\end{CompactItemize}
\subsection*{Classes}
\begin{CompactItemize}
\item 
class {\bf ost::Socket}
\begin{CompactList}\small\item\em The {\bf Socket}{\rm (p.\,\pageref{classost_1_1_socket})} is used as the base for all Internet protocol services under Common C++.base class of all sockets. \item\end{CompactList}\item 
class {\bf ost::UDPSocket}
\begin{CompactList}\small\item\em UDP sockets implement the TCP SOCK\_\-DGRAM UDP protocol.Unreliable Datagram Protocol sockets. \item\end{CompactList}\item 
class {\bf ost::UDPBroadcast}
\begin{CompactList}\small\item\em 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. \item\end{CompactList}\item 
class {\bf ost::UDPTransmit}
\begin{CompactList}\small\item\em Representing half of a two-way UDP connection, the UDP transmitter can broadcast data to another selected peer host or to an entire subnet.Unreliable Datagram Peer Associations. \item\end{CompactList}\item 
class {\bf ost::UDPReceive}
\begin{CompactList}\small\item\em Representing half of a two-way UDP connection, the UDP receiver can receive data from another peer host or subnet.Unreliable Datagram Peer Associations. \item\end{CompactList}\item 
class {\bf ost::UDPDuplex}
\begin{CompactList}\small\item\em UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts.Unreliable Datagram Peer Associations. \item\end{CompactList}\item 
class {\bf ost::TCPSocket}
\begin{CompactList}\small\item\em TCP sockets are used for stream based connected sessions between two sockets.bound server for TCP streams and sessions. \item\end{CompactList}\item 
class {\bf ost::TCPV6Socket}
\begin{CompactList}\small\item\em TCPV6 sockets are used for stream based connected sessions between two ipv6 sockets.bound server for TCP streams and sessions. \item\end{CompactList}\item 
class {\bf ost::TCPStream}
\begin{CompactList}\small\item\em TCP streams are used to represent TCP client connections to a server by TCP protocol servers for accepting client connections.streamable TCP socket connection. \item\end{CompactList}\item 
class {\bf ost::TCPSession}
\begin{CompactList}\small\item\em The TCP session is used to primarily to represent a client connection that can be managed on a seperate thread.Threaded streamable socket with non-blocking constructor. \item\end{CompactList}\item 
class {\bf ost::Simple\-TCPStream}
\begin{CompactList}\small\item\em Simple TCP Stream, to be used with Common C++ Library. \item\end{CompactList}\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf INVALID\_\-SOCKET}~-1
\item 
\#define {\bf MSG\_\-DONTWAIT}~0
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef int {\bf SOCKET}
\item 
typedef unsigned short {\bf ost::tpport\_\-t}
\begin{CompactList}\small\item\em Transport Protocol Ports. \item\end{CompactList}\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
\_\-\_\-EXPORT {\bf ost::Simple\-TCPStream}
\end{CompactItemize}


\subsection{Detailed Description}
Network addresses and sockets related classes. 



\subsection{Define Documentation}
\index{socket.h@{socket.h}!INVALID_SOCKET@{INVALID\_\-SOCKET}}
\index{INVALID_SOCKET@{INVALID\_\-SOCKET}!socket.h@{socket.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INVALID\_\-SOCKET~-1}\label{socket_8h_26769957ec1a2beaf223f33b66ee64ab}


\index{socket.h@{socket.h}!MSG_DONTWAIT@{MSG\_\-DONTWAIT}}
\index{MSG_DONTWAIT@{MSG\_\-DONTWAIT}!socket.h@{socket.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MSG\_\-DONTWAIT~0}\label{socket_8h_b18d3d439e4a9c8d0f73e7166e8eb376}




\subsection{Typedef Documentation}
\index{socket.h@{socket.h}!SOCKET@{SOCKET}}
\index{SOCKET@{SOCKET}!socket.h@{socket.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef int {\bf SOCKET}}\label{socket_8h_8dc8083897335125630f1af5dafd5831}