\hypertarget{group__Ecore__Con__Group}{}\doxysection{Ecore\+\_\+\+Con -\/ Connection functions}
\label{group__Ecore__Con__Group}\index{Ecore\_Con -\/ Connection functions@{Ecore\_Con -\/ Connection functions}}


The Ecore Connection Library ( {\ttfamily Ecore\+\_\+\+Con} ) provides simple mechanisms for communications between programs using reliable sockets.  


\doxysubsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Ecore__Con__Events__Group}{Ecore Connection Events Functions}}
\begin{DoxyCompactList}\small\item\em The Ecore Con events can be categorized into Server side events and Client side events. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__Buffer}{Ecore Connection Buffering}}
\begin{DoxyCompactList}\small\item\em As Ecore\+\_\+\+Con works on an event driven design, as data arrives, events will be produced containing the data that arrived. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__Lib__Group}{Ecore Connection Library Functions}}
\begin{DoxyCompactList}\small\item\em Utility functions that set up and shut down the Ecore Connection library. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__SSL__Group}{Ecore Connection SSL Functions}}
\begin{DoxyCompactList}\small\item\em Functions that operate on Ecore connection objects pertaining to SSL. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__Socks__Group}{Ecore Connection SOCKS functions}}
\item 
\mbox{\hyperlink{group__Ecore__Con__Server__Group}{Ecore Connection Server Functions}}
\begin{DoxyCompactList}\small\item\em This group of functions is applied to an \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga80f90f9716013d6104624c2e606f8915}{Ecore\+\_\+\+Con\+\_\+\+Server}} object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__Client__Group}{Ecore Connection Client Functions}}
\begin{DoxyCompactList}\small\item\em Functions to communicate with and/or set options on a client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__Url__Group}{Ecore URL Connection Functions}}
\begin{DoxyCompactList}\small\item\em Utility functions that set up, use and shut down the Ecore URL Connection library. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Con__Eet__Group}{Eet connection functions}}
\begin{DoxyCompactList}\small\item\em The Ecore Connection Eet library ({\ttfamily Ecore\+\_\+\+Con\+\_\+\+Eet}) adds {\ttfamily Eet} data serialization features to Ecore Connection objects. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The Ecore Connection Library ( {\ttfamily Ecore\+\_\+\+Con} ) provides simple mechanisms for communications between programs using reliable sockets. 

It saves the programmer from having to worry about file descriptors and waiting for incoming connections.

There are two main objects in the {\ttfamily Ecore\+\_\+\+Con} library\+: the {\ttfamily Ecore\+\_\+\+Con\+\_\+\+Server} and the {\ttfamily Ecore\+\_\+\+Con\+\_\+\+Client}.

The {\ttfamily Ecore\+\_\+\+Con\+\_\+\+Server} represents a server that can be connected to. It is used regardless of whether the program is acting as a server or client itself.

To create a listening server call {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga8993f75b5a4948b6b3975575d807fb21}{ecore\+\_\+con\+\_\+server\+\_\+add()}}}, optionally using an ECORE\+\_\+\+CON\+\_\+\+USE\+\_\+$\ast$ encryption type OR\textquotesingle{}ed with the type for encryption.

To connect to a server, call {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Server__Group_gab1bc5a7692c3c36af00e1ac1db257e98}{ecore\+\_\+con\+\_\+server\+\_\+connect()}}}. Data can then be sent to the server using the {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Server__Group_gad01efce916804c31f6b2adcc6f607c6b}{ecore\+\_\+con\+\_\+server\+\_\+send()}}}.

Functions are described in the following groupings\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{group__Ecore__Con__Lib__Group}{Ecore Connection Library Functions}} \item \mbox{\hyperlink{group__Ecore__Con__Server__Group}{Ecore Connection Server Functions}} \item \mbox{\hyperlink{group__Ecore__Con__Client__Group}{Ecore Connection Client Functions}} \item \mbox{\hyperlink{group__Ecore__Con__Url__Group}{Ecore URL Connection Functions}}\end{DoxyItemize}
Events are described in \mbox{\hyperlink{group__Ecore__Con__Events__Group}{Ecore Connection Events Functions}}. 