\hypertarget{classcore_1_1_t_c_p_socket}{}\doxysection{core\+::T\+C\+P\+Socket Class Reference}
\label{classcore_1_1_t_c_p_socket}\index{core::TCPSocket@{core::TCPSocket}}


{\ttfamily \#include $<$T\+C\+P\+Socket.\+h$>$}



Inheritance diagram for core\+::T\+C\+P\+Socket\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcore_1_1_t_c_p_socket__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for core\+::T\+C\+P\+Socket\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=260pt]{classcore_1_1_t_c_p_socket__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcore_1_1_t_c_p_socket_a09089f0bc701edcf6c148958fd29d374}{T\+C\+P\+Socket}} (\mbox{\hyperlink{classcore_1_1_e_poll}{E\+Poll}} \&\mbox{\hyperlink{classcore_1_1_socket_a3b0b139ac7da581f0d969f6ae9a0c97c}{e\+Poll}})
\item 
\mbox{\hyperlink{classcore_1_1_t_c_p_socket_aa7ffbbd17827ffe769684fa8345862d6}{T\+C\+P\+Socket}} (\mbox{\hyperlink{classcore_1_1_e_poll}{E\+Poll}} \&\mbox{\hyperlink{classcore_1_1_socket_a3b0b139ac7da581f0d969f6ae9a0c97c}{e\+Poll}}, std\+::string text)
\item 
\mbox{\hyperlink{classcore_1_1_t_c_p_socket_a981018367f57776478fe8fc6b6a3b005}{$\sim$\+T\+C\+P\+Socket}} ()
\item 
void \mbox{\hyperlink{classcore_1_1_t_c_p_socket_a22dae8f5b7989d206fab918297e0df94}{connect}} (\mbox{\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}} \&address)
\item 
virtual void \mbox{\hyperlink{classcore_1_1_t_c_p_socket_afacf7528ff3c9ac077d7b5a49e2116fd}{output}} (std\+::stringstream \&out)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}} \mbox{\hyperlink{classcore_1_1_t_c_p_socket_abe7d0a740dc0c19c058661270a6fb630}{ip\+Address}}
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classcore_1_1_t_c_p_socket}{T\+C\+P\+Socket}}

Provides a network T\+CP socket.

For accessing T\+CP network functions use this object. The connection oriented nature of T\+CP provides a single client persistent connection with data error correction and a durable synchronous data connection. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classcore_1_1_t_c_p_socket_a09089f0bc701edcf6c148958fd29d374}\label{classcore_1_1_t_c_p_socket_a09089f0bc701edcf6c148958fd29d374}} 
\index{core::TCPSocket@{core::TCPSocket}!TCPSocket@{TCPSocket}}
\index{TCPSocket@{TCPSocket}!core::TCPSocket@{core::TCPSocket}}
\doxysubsubsection{\texorpdfstring{TCPSocket()}{TCPSocket()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily core\+::\+T\+C\+P\+Socket\+::\+T\+C\+P\+Socket (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcore_1_1_e_poll}{E\+Poll}} \&}]{e\+Poll }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classcore_1_1_t_c_p_socket_aa7ffbbd17827ffe769684fa8345862d6}\label{classcore_1_1_t_c_p_socket_aa7ffbbd17827ffe769684fa8345862d6}} 
\index{core::TCPSocket@{core::TCPSocket}!TCPSocket@{TCPSocket}}
\index{TCPSocket@{TCPSocket}!core::TCPSocket@{core::TCPSocket}}
\doxysubsubsection{\texorpdfstring{TCPSocket()}{TCPSocket()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily core\+::\+T\+C\+P\+Socket\+::\+T\+C\+P\+Socket (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcore_1_1_e_poll}{E\+Poll}} \&}]{e\+Poll,  }\item[{std\+::string}]{text }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classcore_1_1_t_c_p_socket_a981018367f57776478fe8fc6b6a3b005}\label{classcore_1_1_t_c_p_socket_a981018367f57776478fe8fc6b6a3b005}} 
\index{core::TCPSocket@{core::TCPSocket}!````~TCPSocket@{$\sim$TCPSocket}}
\index{````~TCPSocket@{$\sim$TCPSocket}!core::TCPSocket@{core::TCPSocket}}
\doxysubsubsection{\texorpdfstring{$\sim$TCPSocket()}{~TCPSocket()}}
{\footnotesize\ttfamily core\+::\+T\+C\+P\+Socket\+::$\sim$\+T\+C\+P\+Socket (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_t_c_p_socket_a22dae8f5b7989d206fab918297e0df94}\label{classcore_1_1_t_c_p_socket_a22dae8f5b7989d206fab918297e0df94}} 
\index{core::TCPSocket@{core::TCPSocket}!connect@{connect}}
\index{connect@{connect}!core::TCPSocket@{core::TCPSocket}}
\doxysubsubsection{\texorpdfstring{connect()}{connect()}}
{\footnotesize\ttfamily void core\+::\+T\+C\+P\+Socket\+::connect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}} \&}]{address }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classcore_1_1_t_c_p_socket_afacf7528ff3c9ac077d7b5a49e2116fd}\label{classcore_1_1_t_c_p_socket_afacf7528ff3c9ac077d7b5a49e2116fd}} 
\index{core::TCPSocket@{core::TCPSocket}!output@{output}}
\index{output@{output}!core::TCPSocket@{core::TCPSocket}}
\doxysubsubsection{\texorpdfstring{output()}{output()}}
{\footnotesize\ttfamily void core\+::\+T\+C\+P\+Socket\+::output (\begin{DoxyParamCaption}\item[{std\+::stringstream \&}]{out }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

The output method is called by a socket session (B\+M\+A\+Session) and will output the detail information for the client socket. When extending B\+M\+A\+T\+C\+P\+Socket or B\+M\+A\+Session you can override the method to add attributes to the list. 

Reimplemented in \mbox{\hyperlink{classcore_1_1_t_l_s_session_ae55de8a035d1ddc560cf619b2030af43}{core\+::\+T\+L\+S\+Session}}, and \mbox{\hyperlink{classcore_1_1_t_c_p_session_a50037cbfc515650e04054e5481785981}{core\+::\+T\+C\+P\+Session}}.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classcore_1_1_t_c_p_socket_abe7d0a740dc0c19c058661270a6fb630}\label{classcore_1_1_t_c_p_socket_abe7d0a740dc0c19c058661270a6fb630}} 
\index{core::TCPSocket@{core::TCPSocket}!ipAddress@{ipAddress}}
\index{ipAddress@{ipAddress}!core::TCPSocket@{core::TCPSocket}}
\doxysubsubsection{\texorpdfstring{ipAddress}{ipAddress}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}} core\+::\+T\+C\+P\+Socket\+::ip\+Address}



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_t_c_p_socket_8h}{T\+C\+P\+Socket.\+h}}\item 
\mbox{\hyperlink{_t_c_p_socket_8cpp}{T\+C\+P\+Socket.\+cpp}}\end{DoxyCompactItemize}
