\hypertarget{class_net_t_c_p_server}{}\doxysection{Net\+T\+C\+P\+Server Class Reference}
\label{class_net_t_c_p_server}\index{NetTCPServer@{NetTCPServer}}


{\ttfamily \#include $<$tcpserver.\+hpp$>$}



Inheritance diagram for Net\+T\+C\+P\+Server\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=178pt]{class_net_t_c_p_server__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for Net\+T\+C\+P\+Server\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_net_t_c_p_server__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_net_t_c_p_server_ae9f837f5b483d20a5225aa3e84b27c9e}{Net\+T\+C\+P\+Server}} (int port)
\item 
\mbox{\hyperlink{class_net_t_c_p_server_ad46c8ce1e35517915e78efe42f0de573}{$\sim$\+Net\+T\+C\+P\+Server}} ()
\item 
\mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} $\ast$ \mbox{\hyperlink{class_net_t_c_p_server_a4c0ee8421f4a7633fb3e8615056bc886}{accept\+\_\+client}} ()
\begin{DoxyCompactList}\small\item\em Accept new client if there is one. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} $\ast$ \mbox{\hyperlink{class_net_t_c_p_server_aef1d5a6ebe5c278d6b1b016c0b08bc48}{get\+\_\+tcpclient\+Next}} ()
\begin{DoxyCompactList}\small\item\em Access to the next \mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} in queue. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
I\+Paddress \mbox{\hyperlink{class_net_t_c_p_server_a8affac619858c13cb7849b51a076584b}{m\+\_\+\+I\+P\+Adr}}
\item 
T\+C\+Psocket \mbox{\hyperlink{class_net_t_c_p_server_aaf55c88178d7f745ae806761350b3040}{m\+\_\+socket}}
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}


Definition at line 5 of file tcpserver.\+hpp.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_net_t_c_p_server_ae9f837f5b483d20a5225aa3e84b27c9e}\label{class_net_t_c_p_server_ae9f837f5b483d20a5225aa3e84b27c9e}} 
\index{NetTCPServer@{NetTCPServer}!NetTCPServer@{NetTCPServer}}
\index{NetTCPServer@{NetTCPServer}!NetTCPServer@{NetTCPServer}}
\doxysubsubsection{\texorpdfstring{NetTCPServer()}{NetTCPServer()}}
{\footnotesize\ttfamily Net\+T\+C\+P\+Server\+::\+Net\+T\+C\+P\+Server (\begin{DoxyParamCaption}\item[{int}]{port }\end{DoxyParamCaption})}



Definition at line 17 of file tcpserver.\+cpp.

\mbox{\Hypertarget{class_net_t_c_p_server_ad46c8ce1e35517915e78efe42f0de573}\label{class_net_t_c_p_server_ad46c8ce1e35517915e78efe42f0de573}} 
\index{NetTCPServer@{NetTCPServer}!````~NetTCPServer@{$\sim$NetTCPServer}}
\index{````~NetTCPServer@{$\sim$NetTCPServer}!NetTCPServer@{NetTCPServer}}
\doxysubsubsection{\texorpdfstring{$\sim$NetTCPServer()}{~NetTCPServer()}}
{\footnotesize\ttfamily Net\+T\+C\+P\+Server\+::$\sim$\+Net\+T\+C\+P\+Server (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Definition at line 48 of file tcpserver.\+cpp.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_net_t_c_p_server_a4c0ee8421f4a7633fb3e8615056bc886}\label{class_net_t_c_p_server_a4c0ee8421f4a7633fb3e8615056bc886}} 
\index{NetTCPServer@{NetTCPServer}!accept\_client@{accept\_client}}
\index{accept\_client@{accept\_client}!NetTCPServer@{NetTCPServer}}
\doxysubsubsection{\texorpdfstring{accept\_client()}{accept\_client()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} $\ast$ Net\+T\+C\+P\+Server\+::accept\+\_\+client (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Accept new client if there is one. 

\begin{DoxyReturn}{Returns}
new \mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} accepted 
\end{DoxyReturn}


Definition at line 57 of file tcpserver.\+cpp.

\mbox{\Hypertarget{class_net_t_c_p_server_aef1d5a6ebe5c278d6b1b016c0b08bc48}\label{class_net_t_c_p_server_aef1d5a6ebe5c278d6b1b016c0b08bc48}} 
\index{NetTCPServer@{NetTCPServer}!get\_tcpclientNext@{get\_tcpclientNext}}
\index{get\_tcpclientNext@{get\_tcpclientNext}!NetTCPServer@{NetTCPServer}}
\doxysubsubsection{\texorpdfstring{get\_tcpclientNext()}{get\_tcpclientNext()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} $\ast$ Net\+T\+C\+P\+Server\+::get\+\_\+tcpclient\+Next (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Access to the next \mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} in queue. 

\begin{DoxyReturn}{Returns}
next \mbox{\hyperlink{class_net_t_c_p_client}{Net\+T\+C\+P\+Client}} 
\end{DoxyReturn}


Definition at line 84 of file tcpserver.\+cpp.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_net_t_c_p_server_a8affac619858c13cb7849b51a076584b}\label{class_net_t_c_p_server_a8affac619858c13cb7849b51a076584b}} 
\index{NetTCPServer@{NetTCPServer}!m\_IPAdr@{m\_IPAdr}}
\index{m\_IPAdr@{m\_IPAdr}!NetTCPServer@{NetTCPServer}}
\doxysubsubsection{\texorpdfstring{m\_IPAdr}{m\_IPAdr}}
{\footnotesize\ttfamily I\+Paddress Net\+T\+C\+P\+Server\+::m\+\_\+\+I\+P\+Adr\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 22 of file tcpserver.\+hpp.

\mbox{\Hypertarget{class_net_t_c_p_server_aaf55c88178d7f745ae806761350b3040}\label{class_net_t_c_p_server_aaf55c88178d7f745ae806761350b3040}} 
\index{NetTCPServer@{NetTCPServer}!m\_socket@{m\_socket}}
\index{m\_socket@{m\_socket}!NetTCPServer@{NetTCPServer}}
\doxysubsubsection{\texorpdfstring{m\_socket}{m\_socket}}
{\footnotesize\ttfamily T\+C\+Psocket Net\+T\+C\+P\+Server\+::m\+\_\+socket\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 23 of file tcpserver.\+hpp.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
sojotz/utils/net/\mbox{\hyperlink{tcpserver_8hpp}{tcpserver.\+hpp}}\item 
sojotz/utils/net/\mbox{\hyperlink{tcpserver_8cpp}{tcpserver.\+cpp}}\end{DoxyCompactItemize}
