\doxysection{rtrlib/transport/transport\+\_\+private.h File Reference}
\hypertarget{transport__private_8h}{}\label{transport__private_8h}\index{rtrlib/transport/transport\_private.h@{rtrlib/transport/transport\_private.h}}
{\ttfamily \#include "{}transport.\+h"{}}\newline
{\ttfamily \#include $<$time.\+h$>$}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__mod__transport__h_ga9a56327f186f88ad78edd7304fa254d9}{tr\+\_\+open}} (struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Establish the connection. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__mod__transport__h_ga7d2f6f44da39e272f9ec1026ba9a630d}{tr\+\_\+close}} (struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Close the socket connection. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__mod__transport__h_ga1e7044b71e93ae593bb8fc5d43a03e6f}{tr\+\_\+free}} (struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Deallocates all memory that the passed socket uses. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__transport__h_gaf46b8fb4d633dfea7925b3d77e14ff6d}{tr\+\_\+recv}} (const struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket, void \texorpdfstring{$\ast$}{*}buf, const size\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}}, const time\+\_\+t timeout)
\begin{DoxyCompactList}\small\item\em Receives \texorpdfstring{$<$}{<}= len Bytes data from the socket. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__transport__h_ga6a23547b7f3073518d70a3afeac5f41b}{tr\+\_\+send}} (const struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket, const void \texorpdfstring{$\ast$}{*}pdu, const size\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}}, const time\+\_\+t timeout)
\begin{DoxyCompactList}\small\item\em Send \texorpdfstring{$<$}{<}= len Bytes data over the socket. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__transport__h_gad1daaae068ce9e79291f700eb9d9d3ac}{tr\+\_\+send\+\_\+all}} (const struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket, const void \texorpdfstring{$\ast$}{*}pdu, const size\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}}, const time\+\_\+t timeout)
\begin{DoxyCompactList}\small\item\em Repeatedly calls tr\+\_\+send(..) till len Bytes were sent, the timeout expired or an error occurred. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__transport__h_gaf40abd27c26f3c3820ecd5f945b21cff}{tr\+\_\+recv\+\_\+all}} (const struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket, const void \texorpdfstring{$\ast$}{*}buf, const size\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}}, const time\+\_\+t timeout)
\begin{DoxyCompactList}\small\item\em Repeatedly calls tr\+\_\+recv(..) till len Bytes were received, the timeout expired or an error occurred. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_ga8e940b6777ffb33558502558bddbdae8}{tr\+\_\+ident}} (struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Returns an identifier for the socket endpoint, eg host\+:port. \end{DoxyCompactList}\end{DoxyCompactItemize}
