\doxysection{tcp\+\_\+transport.\+h}
\hypertarget{tcp__transport_8h_source}{}\label{tcp__transport_8h_source}\index{rtrlib/transport/tcp/tcp\_transport.h@{rtrlib/transport/tcp/tcp\_transport.h}}
\mbox{\hyperlink{tcp__transport_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ This\ file\ is\ part\ of\ RTRlib.}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ This\ file\ is\ subject\ to\ the\ terms\ and\ conditions\ of\ the\ MIT\ license.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ See\ the\ file\ LICENSE\ in\ the\ top\ level\ directory\ for\ more\ details.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ Website:\ http://rtrlib.realmv6.org/}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#ifndef\ RTR\_TCP\_TRANSPORT\_H}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ RTR\_TCP\_TRANSPORT\_H}}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{transport_8h}{rtrlib/transport/transport.h}}"{}}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00041\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structtr__tcp__config}{tr\_tcp\_config}}\ \{}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__tcp__config_a7cb93ee58dee3547efea7b7b0eb025e3}{host}};}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__tcp__config_aeaf235398cb077f88b7b4ea18519b7b0}{port}};}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__tcp__config_a0687a59f8c60d7add4057bb216af7a37}{bindaddr}};}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *\mbox{\hyperlink{structtr__tcp__config_a58d7b759bb09e062d52ee04528a4a7a4}{data}};}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ int\ (*\mbox{\hyperlink{structtr__tcp__config_ade0ddf9e09961379743b2b756b09b838}{new\_socket}})(\textcolor{keywordtype}{void}\ *\mbox{\hyperlink{structtr__tcp__config_a58d7b759bb09e062d52ee04528a4a7a4}{data}});}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{structtr__tcp__config_a553a318f8243737c7a19a7f09c135615}{connect\_timeout}};}
\DoxyCodeLine{00048\ \};}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00057\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__tcp__transport__h_ga6335c26aa03290ba3524829574e472e0}{tr\_tcp\_init}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__tcp__config}{tr\_tcp\_config}}\ *config,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket);}
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
