\hypertarget{group__Ecore__Con__Client__Group}{}\doxysection{Ecore Connection Client Functions}
\label{group__Ecore__Con__Client__Group}\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Client \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga166fd469acaa809faa4247b12d79278f}{ecore\+\_\+con\+\_\+client\+\_\+send}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, const void $\ast$data, int size)
\begin{DoxyCompactList}\small\item\em Sends the given data to the given client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ \mbox{\hyperlink{group__Ecore__Con__Client__Group_gaddd302cb689b5040363246a58f20a680}{ecore\+\_\+con\+\_\+client\+\_\+del}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Closes the connection and free memory allocated to the given client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga0c81c3b201d7fa6d48b6f5e99a651edc}{ecore\+\_\+con\+\_\+client\+\_\+data\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the data associated with the given client to {\ttfamily data}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga34e96711b04adecc9ade2b1f3408c390}{ecore\+\_\+con\+\_\+client\+\_\+data\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Retrieves the data associated with the given client. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Ecore__Con__Client__Group_gac2af46d20219cda762c5fb9aa10f0a91}{ecore\+\_\+con\+\_\+client\+\_\+ip\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Gets the IP address of a client that has connected. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Con__Client__Group_gaccf37688bb1ecbedc8791b5b43c1595c}{ecore\+\_\+con\+\_\+client\+\_\+flush}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Flushes all pending data to the given client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} double \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga6ce6fef375f4d5a0d28a513f2fc40023}{ecore\+\_\+con\+\_\+client\+\_\+uptime\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Checks how long a client has been connected. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} double \mbox{\hyperlink{group__Ecore__Con__Client__Group_gaa09134e1e8c30f0cc07a57c9bd7788df}{ecore\+\_\+con\+\_\+client\+\_\+timeout\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Gets the default time after which the client will be disconnected when inactive. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Con__Client__Group_gac96c76af4f6c9d842e52ea38312c73dd}{ecore\+\_\+con\+\_\+client\+\_\+timeout\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, double timeout)
\begin{DoxyCompactList}\small\item\em Sets the time after which the client will be disconnected when inactive. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Client__Group_gaade0309ee7c315f7e54bc902078791e8}{ecore\+\_\+con\+\_\+client\+\_\+connected\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Returns whether the client is still connected. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga555c9fd886a4833006888e685565ad03}{ecore\+\_\+con\+\_\+client\+\_\+port\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Returns the port that the client has connected to. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga80f90f9716013d6104624c2e606f8915}{Ecore\+\_\+\+Con\+\_\+\+Server}} $\ast$ \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga180e16493463c8c4ff7b823fcb3c2618}{ecore\+\_\+con\+\_\+client\+\_\+server\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em The server the client is connected to. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga4a03a1f817af18df5d454b467414612a}\label{group__Ecore__Con__Client__Group_ga4a03a1f817af18df5d454b467414612a}} 
static \mbox{\hyperlink{struct__Efl__Callback__Array__Item}{Efl\+\_\+\+Callback\+\_\+\+Array\+\_\+\+Item}} $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+cbs} (void)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gad389d809f4677e9b8faf061eececad7f}\label{group__Ecore__Con__Client__Group_gad389d809f4677e9b8faf061eececad7f}} 
static \mbox{\hyperlink{struct__Efl__Callback__Array__Item}{Efl\+\_\+\+Callback\+\_\+\+Array\+\_\+\+Item}} $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+ssl\+\_\+cbs} (void)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga965081c262ca0d3ed49e7752651133c3}\label{group__Ecore__Con__Client__Group_ga965081c262ca0d3ed49e7752651133c3}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+close} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gab9696db568c3b902c50815f7108e1bec}\label{group__Ecore__Con__Client__Group_gab9696db568c3b902c50815f7108e1bec}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+free} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga1dff15d5eb707f24e109bb713afc8e17}\label{group__Ecore__Con__Client__Group_ga1dff15d5eb707f24e109bb713afc8e17}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+free\+\_\+event\+\_\+client\+\_\+add} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gacd59dc5da9474e73c9ca5bda5551247e}\label{group__Ecore__Con__Client__Group_gacd59dc5da9474e73c9ca5bda5551247e}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+post\+\_\+event\+\_\+client\+\_\+add} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaca3efe2ea4cb784acb8f657422d7137f}\label{group__Ecore__Con__Client__Group_gaca3efe2ea4cb784acb8f657422d7137f}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+free\+\_\+event\+\_\+client\+\_\+del} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga1522634702707dd9262f82b6183a97fa}\label{group__Ecore__Con__Client__Group_ga1522634702707dd9262f82b6183a97fa}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ecore\+\_\+con\+\_\+post\+\_\+event\+\_\+client\+\_\+del} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga620d5d26b1888c34403d963e308778be}\label{group__Ecore__Con__Client__Group_ga620d5d26b1888c34403d963e308778be}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+free\+\_\+event\+\_\+client\+\_\+data} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga4de9394cb52fd3818731f0a7c368c803}\label{group__Ecore__Con__Client__Group_ga4de9394cb52fd3818731f0a7c368c803}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+post\+\_\+event\+\_\+client\+\_\+data} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, \mbox{\hyperlink{group__Eina__Slice__Group_gad43ea51c6434252512a3e7305cea4af3}{Eina\+\_\+\+Rw\+\_\+\+Slice}} slice)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga9109c12286e23d5f27b188d42c3ac3ce}\label{group__Ecore__Con__Client__Group_ga9109c12286e23d5f27b188d42c3ac3ce}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+free\+\_\+event\+\_\+client\+\_\+write} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga3344c1de4a3e7e6937a011afacd7ce67}\label{group__Ecore__Con__Client__Group_ga3344c1de4a3e7e6937a011afacd7ce67}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+post\+\_\+event\+\_\+client\+\_\+write} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, size\+\_\+t size)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga9d4eecfb4c92df8a31d7a615880d3573}\label{group__Ecore__Con__Client__Group_ga9d4eecfb4c92df8a31d7a615880d3573}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+free\+\_\+event\+\_\+client\+\_\+error} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga8447254bc04234e3ebae3a92ecd428ff}\label{group__Ecore__Con__Client__Group_ga8447254bc04234e3ebae3a92ecd428ff}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ecore\+\_\+con\+\_\+post\+\_\+event\+\_\+client\+\_\+error} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, const char $\ast$err)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga405f7033fc1069fdc3ae7c73309569b1}\label{group__Ecore__Con__Client__Group_ga405f7033fc1069fdc3ae7c73309569b1}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+free\+\_\+event\+\_\+client\+\_\+upgrade} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gadcf9670a136b8a7aa297de8b45381c08}\label{group__Ecore__Con__Client__Group_gadcf9670a136b8a7aa297de8b45381c08}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+post\+\_\+event\+\_\+client\+\_\+upgrade} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga37ace9385f862d0ad508d976cbb3d92d}\label{group__Ecore__Con__Client__Group_ga37ace9385f862d0ad508d976cbb3d92d}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+progress} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga2dce83bae29ea0f438b052f4e56cfced}\label{group__Ecore__Con__Client__Group_ga2dce83bae29ea0f438b052f4e56cfced}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+slice\+\_\+changed} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga0b69766e6b99fa45be18b969281841c0}\label{group__Ecore__Con__Client__Group_ga0b69766e6b99fa45be18b969281841c0}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+read\+\_\+finished} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gae3cf96a661ff4ed594736a5ecf8ba067}\label{group__Ecore__Con__Client__Group_gae3cf96a661ff4ed594736a5ecf8ba067}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+finished} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga9e6101049f2527cb29184f404cabd3c6}\label{group__Ecore__Con__Client__Group_ga9e6101049f2527cb29184f404cabd3c6}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+error} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga224d4fc79071877db049ccfc8e6b278c}\label{group__Ecore__Con__Client__Group_ga224d4fc79071877db049ccfc8e6b278c}} 
{\bfseries E\+F\+L\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+S\+\_\+\+A\+R\+R\+A\+Y\+\_\+\+D\+E\+F\+I\+NE} (\+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+cbs, \{ E\+F\+L\+\_\+\+I\+O\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+G\+R\+E\+SS, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+progress \}, \{ E\+F\+L\+\_\+\+I\+O\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+L\+I\+C\+E\+\_\+\+C\+H\+A\+N\+G\+ED, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+slice\+\_\+changed \}, \{ E\+F\+L\+\_\+\+I\+O\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+E\+V\+E\+N\+T\+\_\+\+R\+E\+A\+D\+\_\+\+F\+I\+N\+I\+S\+H\+ED, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+read\+\_\+finished \}, \{ E\+F\+L\+\_\+\+I\+O\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+E\+V\+E\+N\+T\+\_\+\+F\+I\+N\+I\+S\+H\+ED, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+finished \}, \{ E\+F\+L\+\_\+\+I\+O\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+error \})
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga8b06f3013c9b197ad0fad0445d365114}\label{group__Ecore__Con__Client__Group_ga8b06f3013c9b197ad0fad0445d365114}} 
static \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$ {\bfseries ecore\+\_\+con\+\_\+client\+\_\+add} (\mbox{\hyperlink{group__Ecore__Con__Server__Group_ga80f90f9716013d6104624c2e606f8915}{Ecore\+\_\+\+Con\+\_\+\+Server}} $\ast$svr, \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$socket)
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga43decb7ba52a2b14cfa563b60659491c}{ecore\+\_\+con\+\_\+client\+\_\+fd\+\_\+get}} (const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Gets the fd that the client is connected to. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga10aa6ae89f39102f403c283d74b0544a}\label{group__Ecore__Con__Client__Group_ga10aa6ae89f39102f403c283d74b0544a}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+ssl\+\_\+ready} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaeb3bd43c0c42b74e5135e90d8e6fdb49}\label{group__Ecore__Con__Client__Group_gaeb3bd43c0c42b74e5135e90d8e6fdb49}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+ssl\+\_\+error} (void $\ast$data, const \mbox{\hyperlink{group__Eo_gaad321248854e78c1b734b930b1354085}{Efl\+\_\+\+Event}} $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gabf44963724c3aefdf398f8493e1518d2}\label{group__Ecore__Con__Client__Group_gabf44963724c3aefdf398f8493e1518d2}} 
{\bfseries E\+F\+L\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+S\+\_\+\+A\+R\+R\+A\+Y\+\_\+\+D\+E\+F\+I\+NE} (\+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+ssl\+\_\+cbs, \{ E\+F\+L\+\_\+\+N\+E\+T\+\_\+\+S\+O\+C\+K\+E\+T\+\_\+\+S\+S\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+S\+L\+\_\+\+R\+E\+A\+DY, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+ssl\+\_\+ready \}, \{ E\+F\+L\+\_\+\+N\+E\+T\+\_\+\+S\+O\+C\+K\+E\+T\+\_\+\+S\+S\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+S\+L\+\_\+\+E\+R\+R\+OR, \+\_\+ecore\+\_\+con\+\_\+client\+\_\+socket\+\_\+ssl\+\_\+error \})
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gab3008b9c84ec18c112009189aea30720}\label{group__Ecore__Con__Client__Group_gab3008b9c84ec18c112009189aea30720}} 
static \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} {\bfseries \+\_\+ecore\+\_\+con\+\_\+client\+\_\+ssl\+\_\+upgrade\+\_\+job} (void $\ast$data, const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} v, const Eina\+\_\+\+Future $\ast$dead)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga3aba00482185e6f55fa9a16321f38570}\label{group__Ecore__Con__Client__Group_ga3aba00482185e6f55fa9a16321f38570}} 
static \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+server\+\_\+ssl\+\_\+ctx\+\_\+create} (const \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga80f90f9716013d6104624c2e606f8915}{Ecore\+\_\+\+Con\+\_\+\+Server}} $\ast$svr)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaec47a9b7afdf130cec3421e758c0f332}\label{group__Ecore__Con__Client__Group_gaec47a9b7afdf130cec3421e758c0f332}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+server\+\_\+job\+\_\+schedule} (\mbox{\hyperlink{group__Ecore__Con__Server__Group_ga80f90f9716013d6104624c2e606f8915}{Ecore\+\_\+\+Con\+\_\+\+Server}} $\ast$svr, \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$loop, \mbox{\hyperlink{group__Eina__Promise_gad3a38a209f2112fbe1eb111e0d3ff939}{Eina\+\_\+\+Future\+\_\+\+Cb}} cb)
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Client__Group_ga2528eafec09b733fd85d6f138f364d4f}{ecore\+\_\+con\+\_\+ssl\+\_\+client\+\_\+upgrade}} (\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$cl, Ecore\+\_\+\+Con\+\_\+\+Type compl\+\_\+type)
\begin{DoxyCompactList}\small\item\em Upgrades a connection to a specified level of encryption. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__Con__Client__Group_gaad8e029c00a1a4a6097f5ff17dec3c2e}{ecore\+\_\+ipc\+\_\+ssl\+\_\+available\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Returns if S\+SL support is available. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions to communicate with and/or set options on a client.

This set of functions, as explained in \mbox{\hyperlink{group__Ecore__Con__Server__Group}{Ecore Connection Server Functions}}, is used to send data to a client, or to set options and get information about this client. Most of them should be used on the server, applied on the client object.

If you need to implement a client, the way to connect to a server is described in \mbox{\hyperlink{group__Ecore__Con__Server__Group}{Ecore Connection Server Functions}}.

An example of usage of these functions can be found at\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{ecore_con_client_simple_example_c}{Ecore\+\_\+\+Con -\/ Creating a client}}\end{DoxyItemize}
Functions that operate on Ecore connection client objects, these are announced using E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+A\+DD by servers created with \mbox{\hyperlink{group__Ecore__Con__Server__Group_gaf450c4039d5e61d4f7a58d7b67efc1e8}{ecore\+\_\+con\+\_\+server\+\_\+add()}}. 

\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}\label{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!Ecore\_Con\_Client@{Ecore\_Con\_Client}}
\index{Ecore\_Con\_Client@{Ecore\_Con\_Client}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{Ecore\_Con\_Client}{Ecore\_Con\_Client}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}}}

Used to provide legacy A\+P\+I/\+A\+BI compatibility with non-\/\+Eo applications. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga166fd469acaa809faa4247b12d79278f}\label{group__Ecore__Con__Client__Group_ga166fd469acaa809faa4247b12d79278f}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_send@{ecore\_con\_client\_send}}
\index{ecore\_con\_client\_send@{ecore\_con\_client\_send}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_send()}{ecore\_con\_client\_send()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+con\+\_\+client\+\_\+send (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl,  }\item[{const void $\ast$}]{data,  }\item[{int}]{size }\end{DoxyParamCaption})}



Sends the given data to the given client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
{\em data} & The given data. \\
\hline
{\em size} & Length of the data, in bytes, to send. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of bytes sent. {\ttfamily 0} will be returned if there is an error.
\end{DoxyReturn}
This function will send the given data to the client as soon as the program is back to the main loop. Thus, this function returns immediately (non-\/blocking). If the data needs to be sent {\bfseries{now}}, call \mbox{\hyperlink{group__Ecore__Con__Client__Group_gaccf37688bb1ecbedc8791b5b43c1595c}{ecore\+\_\+con\+\_\+client\+\_\+flush()}} after this one.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Server__Group_gadf16abc2d4fc16a8b65709eab2cd8337}{ecore\+\_\+con\+\_\+server\+\_\+send()}} 

\mbox{\hyperlink{group__Ecore__Con__Client__Group_gaccf37688bb1ecbedc8791b5b43c1595c}{ecore\+\_\+con\+\_\+client\+\_\+flush()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}


References eina\+\_\+error\+\_\+msg\+\_\+get(), E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+N\+U\+L\+L\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+T\+R\+U\+E\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, E\+RR, \+\_\+\+Eina\+\_\+\+Slice\+::len, and \+\_\+\+Eina\+\_\+\+Slice\+::mem.

\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaddd302cb689b5040363246a58f20a680}\label{group__Ecore__Con__Client__Group_gaddd302cb689b5040363246a58f20a680}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_del@{ecore\_con\_client\_del}}
\index{ecore\_con\_client\_del@{ecore\_con\_client\_del}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_del()}{ecore\_con\_client\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ ecore\+\_\+con\+\_\+client\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Closes the connection and free memory allocated to the given client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Data associated with the client. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga0c81c3b201d7fa6d48b6f5e99a651edc}\label{group__Ecore__Con__Client__Group_ga0c81c3b201d7fa6d48b6f5e99a651edc}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_data\_set@{ecore\_con\_client\_data\_set}}
\index{ecore\_con\_client\_data\_set@{ecore\_con\_client\_data\_set}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_data\_set()}{ecore\_con\_client\_data\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+con\+\_\+client\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Sets the data associated with the given client to {\ttfamily data}. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
{\em data} & What to set the data to. \\
\hline
\end{DoxyParams}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga34e96711b04adecc9ade2b1f3408c390}\label{group__Ecore__Con__Client__Group_ga34e96711b04adecc9ade2b1f3408c390}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_data\_get@{ecore\_con\_client\_data\_get}}
\index{ecore\_con\_client\_data\_get@{ecore\_con\_client\_data\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_data\_get()}{ecore\_con\_client\_data\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ ecore\+\_\+con\+\_\+client\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Retrieves the data associated with the given client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data associated with {\ttfamily cl}. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gac2af46d20219cda762c5fb9aa10f0a91}\label{group__Ecore__Con__Client__Group_gac2af46d20219cda762c5fb9aa10f0a91}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_ip\_get@{ecore\_con\_client\_ip\_get}}
\index{ecore\_con\_client\_ip\_get@{ecore\_con\_client\_ip\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_ip\_get()}{ecore\_con\_client\_ip\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ ecore\+\_\+con\+\_\+client\+\_\+ip\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Gets the IP address of a client that has connected. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pointer to an internal string that contains the IP address of the connected client in the form \char`\"{}\+X\+X\+X.\+Y\+Y\+Y.\+Z\+Z\+Z.\+A\+A\+A\char`\"{} IP notation.
\end{DoxyReturn}
The returned string should not be modified, freed or trusted to stay valid after deletion for the {\ttfamily cl} object. If no IP is known {\ttfamily N\+U\+LL} is returned. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaccf37688bb1ecbedc8791b5b43c1595c}\label{group__Ecore__Con__Client__Group_gaccf37688bb1ecbedc8791b5b43c1595c}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_flush@{ecore\_con\_client\_flush}}
\index{ecore\_con\_client\_flush@{ecore\_con\_client\_flush}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_flush()}{ecore\_con\_client\_flush()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+con\+\_\+client\+\_\+flush (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Flushes all pending data to the given client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client.\\
\hline
\end{DoxyParams}
This function will block until all data is sent to the server.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Client__Group_ga166fd469acaa809faa4247b12d79278f}{ecore\+\_\+con\+\_\+client\+\_\+send()}} 

\mbox{\hyperlink{group__Ecore__Con__Server__Group_ga3ddb6c88484b59a1f5a5bacb8b6e60fe}{ecore\+\_\+con\+\_\+server\+\_\+flush()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}


References efl\+\_\+isa(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.



Referenced by ecore\+\_\+con\+\_\+ssl\+\_\+client\+\_\+upgrade().

\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga6ce6fef375f4d5a0d28a513f2fc40023}\label{group__Ecore__Con__Client__Group_ga6ce6fef375f4d5a0d28a513f2fc40023}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_uptime\_get@{ecore\_con\_client\_uptime\_get}}
\index{ecore\_con\_client\_uptime\_get@{ecore\_con\_client\_uptime\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_uptime\_get()}{ecore\_con\_client\_uptime\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} double ecore\+\_\+con\+\_\+client\+\_\+uptime\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Checks how long a client has been connected. 


\begin{DoxyParams}{Parameters}
{\em cl} & The client to check \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The total time, in seconds, that the client has been connected to the server
\end{DoxyReturn}
This function is used to find out how long a client has been connected for. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}


References ecore\+\_\+time\+\_\+get().

\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaa09134e1e8c30f0cc07a57c9bd7788df}\label{group__Ecore__Con__Client__Group_gaa09134e1e8c30f0cc07a57c9bd7788df}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_timeout\_get@{ecore\_con\_client\_timeout\_get}}
\index{ecore\_con\_client\_timeout\_get@{ecore\_con\_client\_timeout\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_timeout\_get()}{ecore\_con\_client\_timeout\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} double ecore\+\_\+con\+\_\+client\+\_\+timeout\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Gets the default time after which the client will be disconnected when inactive. 


\begin{DoxyParams}{Parameters}
{\em cl} & The client object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The timeout, in seconds, to disconnect after.
\end{DoxyReturn}
This function is used to get the idle timeout for a client. A value of $<$ 1 means the idle timeout is disabled.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Client__Group_gac96c76af4f6c9d842e52ea38312c73dd}{ecore\+\_\+con\+\_\+client\+\_\+timeout\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gac96c76af4f6c9d842e52ea38312c73dd}\label{group__Ecore__Con__Client__Group_gac96c76af4f6c9d842e52ea38312c73dd}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_timeout\_set@{ecore\_con\_client\_timeout\_set}}
\index{ecore\_con\_client\_timeout\_set@{ecore\_con\_client\_timeout\_set}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_timeout\_set()}{ecore\_con\_client\_timeout\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+con\+\_\+client\+\_\+timeout\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl,  }\item[{double}]{timeout }\end{DoxyParamCaption})}



Sets the time after which the client will be disconnected when inactive. 


\begin{DoxyParams}{Parameters}
{\em cl} & The client object \\
\hline
{\em timeout} & The timeout, in seconds, to disconnect after\\
\hline
\end{DoxyParams}
This function is used by the server to set the idle timeout on a specific client. If the client becomes idle for a time higher than this value, it will be disconnected. A value of $<$ 1 disables the idle timeout.

This timeout is not affected by the one set by \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga468eec82ada0234b6ea2b5b8d6e25407}{ecore\+\_\+con\+\_\+server\+\_\+timeout\+\_\+set()}}. A client will be disconnected whenever the client or the server timeout is reached. That means, the lower timeout value will be used for that client if \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga468eec82ada0234b6ea2b5b8d6e25407}{ecore\+\_\+con\+\_\+server\+\_\+timeout\+\_\+set()}} is used on the server.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Client__Group_gaa09134e1e8c30f0cc07a57c9bd7788df}{ecore\+\_\+con\+\_\+client\+\_\+timeout\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Server__Group_ga468eec82ada0234b6ea2b5b8d6e25407}{ecore\+\_\+con\+\_\+server\+\_\+timeout\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaade0309ee7c315f7e54bc902078791e8}\label{group__Ecore__Con__Client__Group_gaade0309ee7c315f7e54bc902078791e8}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_connected\_get@{ecore\_con\_client\_connected\_get}}
\index{ecore\_con\_client\_connected\_get@{ecore\_con\_client\_connected\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_connected\_get()}{ecore\_con\_client\_connected\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+client\+\_\+connected\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Returns whether the client is still connected. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if connected, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga555c9fd886a4833006888e685565ad03}\label{group__Ecore__Con__Client__Group_ga555c9fd886a4833006888e685565ad03}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_port\_get@{ecore\_con\_client\_port\_get}}
\index{ecore\_con\_client\_port\_get@{ecore\_con\_client\_port\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_port\_get()}{ecore\_con\_client\_port\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+con\+\_\+client\+\_\+port\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Returns the port that the client has connected to. 


\begin{DoxyParams}{Parameters}
{\em cl} & The client \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The port that {\ttfamily cl} has connected to, or {\ttfamily -\/1} on error Use this function to return the port on which a given client has connected. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga180e16493463c8c4ff7b823fcb3c2618}\label{group__Ecore__Con__Client__Group_ga180e16493463c8c4ff7b823fcb3c2618}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_server\_get@{ecore\_con\_client\_server\_get}}
\index{ecore\_con\_client\_server\_get@{ecore\_con\_client\_server\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_server\_get()}{ecore\_con\_client\_server\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__Con__Server__Group_ga80f90f9716013d6104624c2e606f8915}{Ecore\+\_\+\+Con\+\_\+\+Server}} $\ast$ ecore\+\_\+con\+\_\+client\+\_\+server\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



The server the client is connected to. 


\begin{DoxyParams}{Parameters}
{\em cl} & The client \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The server the client is connected to. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_server_simple_example_8c-example}{ecore\+\_\+con\+\_\+server\+\_\+simple\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga43decb7ba52a2b14cfa563b60659491c}\label{group__Ecore__Con__Client__Group_ga43decb7ba52a2b14cfa563b60659491c}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_client\_fd\_get@{ecore\_con\_client\_fd\_get}}
\index{ecore\_con\_client\_fd\_get@{ecore\_con\_client\_fd\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_client\_fd\_get()}{ecore\_con\_client\_fd\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+con\+\_\+client\+\_\+fd\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Gets the fd that the client is connected to. 


\begin{DoxyParams}{Parameters}
{\em cl} & The client object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The fd, or {\ttfamily -\/1} on failure
\end{DoxyReturn}
This function returns the fd which is used by the underlying client connection. It should not be tampered with unless you R\+E\+A\+L\+LY know what you are doing. \begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References efl\+\_\+isa().

\mbox{\Hypertarget{group__Ecore__Con__Client__Group_ga2528eafec09b733fd85d6f138f364d4f}\label{group__Ecore__Con__Client__Group_ga2528eafec09b733fd85d6f138f364d4f}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_con\_ssl\_client\_upgrade@{ecore\_con\_ssl\_client\_upgrade}}
\index{ecore\_con\_ssl\_client\_upgrade@{ecore\_con\_ssl\_client\_upgrade}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_ssl\_client\_upgrade()}{ecore\_con\_ssl\_client\_upgrade()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+ssl\+\_\+client\+\_\+upgrade (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Client__Group_gae9afe250f5420f4731d1a94050275756}{Ecore\+\_\+\+Con\+\_\+\+Client}} $\ast$}]{cl,  }\item[{Ecore\+\_\+\+Con\+\_\+\+Type}]{ssl\+\_\+type }\end{DoxyParamCaption})}



Upgrades a connection to a specified level of encryption. 

Use this function to begin an S\+SL handshake on a connection (S\+T\+A\+R\+T\+T\+LS or similar). Once the upgrade has been completed, an E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+U\+P\+G\+R\+A\+DE event will be emitted. The connection should be treated as disconnected until the next event. 
\begin{DoxyParams}{Parameters}
{\em cl} & The client object. \\
\hline
{\em ssl\+\_\+type} & The S\+SL connection type (O\+N\+LY). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} if the connection cannot be upgraded, otherwise {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}. 
\end{DoxyReturn}
\begin{DoxyWarning}{Warning}
Setting a wrong value for {\ttfamily ssl\+\_\+type} W\+I\+LL mess up your program. 
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References ecore\+\_\+animator\+\_\+frametime\+\_\+get(), ecore\+\_\+con\+\_\+client\+\_\+flush(), ecore\+\_\+time\+\_\+get(), efl\+\_\+isa(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+F\+A\+L\+S\+E\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+T\+R\+U\+E\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, and E\+RR.

\mbox{\Hypertarget{group__Ecore__Con__Client__Group_gaad8e029c00a1a4a6097f5ff17dec3c2e}\label{group__Ecore__Con__Client__Group_gaad8e029c00a1a4a6097f5ff17dec3c2e}} 
\index{Ecore Connection Client Functions@{Ecore Connection Client Functions}!ecore\_ipc\_ssl\_available\_get@{ecore\_ipc\_ssl\_available\_get}}
\index{ecore\_ipc\_ssl\_available\_get@{ecore\_ipc\_ssl\_available\_get}!Ecore Connection Client Functions@{Ecore Connection Client Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_ipc\_ssl\_available\_get()}{ecore\_ipc\_ssl\_available\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+ipc\+\_\+ssl\+\_\+available\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Returns if S\+SL support is available. 

\begin{DoxyReturn}{Returns}
1 if S\+SL is available, 0 if it is not. 
\end{DoxyReturn}


References ecore\+\_\+con\+\_\+ssl\+\_\+available\+\_\+get().

