summaryrefslogtreecommitdiff
path: root/doc/latex/classTCPSocket.tex
blob: be413bd1ef31056fd5b92bc91d7c2ff9d9b41582 (plain) (blame)
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
\section{TCPSocket Class Reference}
\label{classTCPSocket}\index{TCPSocket@{TCPSocket}}
{\tt \#include $<$Practical\-Socket.h$>$}

Inheritance diagram for TCPSocket::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{classTCPSocket}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf TCPSocket} ()  throw (Socket\-Exception)
\item 
{\bf TCPSocket} (const string \&foreign\-Address, unsigned short foreign\-Port)  throw (Socket\-Exception)
\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
{\bf TCPSocket} (int new\-Conn\-SD)
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf TCPServer\-Socket}
\end{CompactItemize}


\subsection{Detailed Description}
TCP socket for communication with other TCP sockets 



\subsection{Constructor \& Destructor Documentation}
\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}}
\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPSocket::TCPSocket ()  throw ({\bf Socket\-Exception})}\label{classTCPSocket_7a50427a401d1a6f3209d51818bad901}


Construct a TCP socket with no connection \begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create TCP socket \end{description}
\end{Desc}
\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}}
\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPSocket::TCPSocket (const string \& {\em foreign\-Address}, unsigned short {\em foreign\-Port})  throw ({\bf Socket\-Exception})}\label{classTCPSocket_7b246b66f6dc3246ab2777b771e5f917}


Construct a TCP socket with a connection to the given foreign address and port \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em foreign\-Address}]foreign address (IP address or name) \item[{\em foreign\-Port}]foreign port \end{description}
\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create TCP socket \end{description}
\end{Desc}
\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}}
\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPSocket::TCPSocket (int {\em new\-Conn\-SD})\hspace{0.3cm}{\tt  [private]}}\label{classTCPSocket_4763ac3be0d7d5e143884bef45e351c5}




\subsection{Friends And Related Function Documentation}
\index{TCPSocket@{TCPSocket}!TCPServerSocket@{TCPServerSocket}}
\index{TCPServerSocket@{TCPServerSocket}!TCPSocket@{TCPSocket}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TCPServer\-Socket}\hspace{0.3cm}{\tt  [friend]}}\label{classTCPSocket_e8bcdc0d25881a17b23e557296236fa9}




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