1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
\subsection{Socket Class Reference}
\label{classSocket}\index{Socket@{Socket}}
{\tt \#include $<$socket.hh$>$}
Inheritance diagram for Socket::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classSocket}
\end{center}
\end{figure}
\subsubsection*{Public Member Functions}
\begin{CompactItemize}
\item
{\bf Socket} (void)
\item
void {\bf clear} (void)
\item
int {\bf c\_\-open} (const char $\ast$host, int port, int time\_\-out, int protocol)
\item
int {\bf c\_\-close} (void) const
\item
int {\bf c\_\-write} (const char $\ast$command)
\item
int {\bf c\_\-read} (bool=false)
\item
const string $\ast$ {\bf c\_\-reply} (void) const
\end{CompactItemize}
\subsubsection{Constructor \& Destructor Documentation}
\index{Socket@{Socket}!Socket@{Socket}}
\index{Socket@{Socket}!Socket@{Socket}}
\paragraph[{Socket}]{\setlength{\rightskip}{0pt plus 5cm}Socket::Socket (void)}\hfill\label{classSocket_69e810ab6e91f13f746b90cdee819a7d}
\subsubsection{Member Function Documentation}
\index{Socket@{Socket}!c\_\-close@{c\_\-close}}
\index{c\_\-close@{c\_\-close}!Socket@{Socket}}
\paragraph[{c\_\-close}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-close (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_503235d029ac700c29cd56a4ca56d71e}
Implements {\bf Connection} \doxyref{}{p.}{classConnection_59ec69c9c520e630ff68d26a79e9e233}.\index{Socket@{Socket}!c\_\-open@{c\_\-open}}
\index{c\_\-open@{c\_\-open}!Socket@{Socket}}
\paragraph[{c\_\-open}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-open (const char $\ast$ {\em host}, \/ int {\em port}, \/ int {\em time\_\-out}, \/ int {\em protocol})\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_bde2f1d9ce0920abf5db65045a994261}
Implements {\bf Connection} \doxyref{}{p.}{classConnection_72f5c47421cb5e244f13c31af3ec8997}.\index{Socket@{Socket}!c\_\-read@{c\_\-read}}
\index{c\_\-read@{c\_\-read}!Socket@{Socket}}
\paragraph[{c\_\-read}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-read (bool {\em read\_\-header} = {\tt false})\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_c5891445e5a71a389dffc5a20396901c}
Implements {\bf Connection} \doxyref{}{p.}{classConnection_1afa33b5406c710fde80167c4688a3fa}.\index{Socket@{Socket}!c\_\-reply@{c\_\-reply}}
\index{c\_\-reply@{c\_\-reply}!Socket@{Socket}}
\paragraph[{c\_\-reply}]{\setlength{\rightskip}{0pt plus 5cm}const string $\ast$ Socket::c\_\-reply (void) const\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_f4e5077ca0a9275c2a201a6531c58061}
Implements {\bf Connection} \doxyref{}{p.}{classConnection_21d05ebfedbedf2bc8f89c8c6727976b}.\index{Socket@{Socket}!c\_\-write@{c\_\-write}}
\index{c\_\-write@{c\_\-write}!Socket@{Socket}}
\paragraph[{c\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}int Socket::c\_\-write (const char $\ast$ {\em command})\hspace{0.3cm}{\tt [virtual]}}\hfill\label{classSocket_3c60642af7ebb0ee0f3f6642702f6f87}
Implements {\bf Connection} \doxyref{}{p.}{classConnection_64687373aef3050c7620d726989df0e2}.\index{Socket@{Socket}!clear@{clear}}
\index{clear@{clear}!Socket@{Socket}}
\paragraph[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void Socket::clear (void)}\hfill\label{classSocket_e11afdfb4c8b4316b37d2de9750a7614}
The documentation for this class was generated from the following files:\begin{CompactItemize}
\item
{\bf socket.hh}\item
{\bf socket.cc}\end{CompactItemize}
|