\hypertarget{group__Ecore__IPC__Server__Group}{}\section{I\+PC Server Functions}
\label{group__Ecore__IPC__Server__Group}\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}}


Functions the deal with I\+PC server objects.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga7a35e5ff267186062a25e748c5d07621}{ecore\+\_\+ipc\+\_\+server\+\_\+add}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga6458bde9508dc6eea168fe72b98d8e09}{Ecore\+\_\+\+Ipc\+\_\+\+Type}} type, const char $\ast$name, int port, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Creates an I\+PC server that listens for connections. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Server__Group_gaa7e8a6e5e3a9fc45122554add40134db}{ecore\+\_\+ipc\+\_\+server\+\_\+connect}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga6458bde9508dc6eea168fe72b98d8e09}{Ecore\+\_\+\+Ipc\+\_\+\+Type}} type, char $\ast$name, int port, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Creates an I\+PC server object to represent the I\+PC server listening on the given port. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga04148eb8454432091e29b185c68a3eb2}{ecore\+\_\+ipc\+\_\+server\+\_\+del}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr)
\begin{DoxyCompactList}\small\item\em Closes the connection and frees the given I\+PC server. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Server__Group_gac32fe6a6757a54e6714fb080472f8901}{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr)
\begin{DoxyCompactList}\small\item\em Retrieves the data associated with the given I\+PC server. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__IPC__Server__Group_gada787dfd83c0d9db2ee16bd2d849cd7d}{ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr)
\begin{DoxyCompactList}\small\item\em Retrieves whether the given I\+PC server is currently connected. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Server__Group_gaaca6af31372517b07f184604e3868fdc}{ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr)
\begin{DoxyCompactList}\small\item\em Retrieves the list of clients for this server. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga1fb98acb3bcab778e52bf35f932a5afa}{ecore\+\_\+ipc\+\_\+server\+\_\+send}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr, int major, int minor, int ref, int ref\+\_\+to, int response, const void $\ast$data, int size)
\begin{DoxyCompactList}\small\item\em Sends a message to the given I\+PC server. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__IPC__Server__Group_gae74ad64c4bfebcaa111fe1e878e8f900}{ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr, int client\+\_\+limit, char reject\+\_\+excess\+\_\+clients)
\begin{DoxyCompactList}\small\item\em Sets a limit on the number of clients that can be handled concurrently by the given server, and a policy on what to do if excess clients try to connect. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga5b9e5bc3f1d229506e6fe6843e6c14e1}{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$srv, int size)
\begin{DoxyCompactList}\small\item\em Sets the max data payload size for an Ipc message in bytes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga02bef0d79f9c322ba6cfe40ef5f80940}{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$srv)
\begin{DoxyCompactList}\small\item\em Gets the max data payload size for an Ipc message in bytes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga9741afc035c8f1f01bed662efc38faa6}{ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr)
\begin{DoxyCompactList}\small\item\em Gets the IP address of a server that has been connected to. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__IPC__Server__Group_ga70cdc0c1aea94e13dc7b740c11313c9a}{ecore\+\_\+ipc\+\_\+server\+\_\+flush}} (\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$svr)
\begin{DoxyCompactList}\small\item\em Flushes all pending data to the given server. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions the deal with I\+PC server objects. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga7a35e5ff267186062a25e748c5d07621}\label{group__Ecore__IPC__Server__Group_ga7a35e5ff267186062a25e748c5d07621}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+add@{ecore\+\_\+ipc\+\_\+server\+\_\+add}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+add@{ecore\+\_\+ipc\+\_\+server\+\_\+add}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+add()}{ecore\_ipc\_server\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}}$\ast$ ecore\+\_\+ipc\+\_\+server\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga6458bde9508dc6eea168fe72b98d8e09}{Ecore\+\_\+\+Ipc\+\_\+\+Type}}}]{type,  }\item[{const char $\ast$}]{name,  }\item[{int}]{port,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Creates an I\+PC server that listens for connections. 

For more details about the {\ttfamily compl\+\_\+type}, {\ttfamily name} and {\ttfamily port} parameters, see the \mbox{\hyperlink{group__Ecore__Con__Server__Group_gaf450c4039d5e61d4f7a58d7b67efc1e8}{ecore\+\_\+con\+\_\+server\+\_\+add}} documentation.


\begin{DoxyParams}{Parameters}
{\em compl\+\_\+type} & The connection type. \\
\hline
{\em name} & Name to associate with the socket used for connection. \\
\hline
{\em port} & Number to identify with socket used for connection. \\
\hline
{\em data} & Data to associate with the I\+PC server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New I\+PC server. If there is an error, {\ttfamily N\+U\+LL} is returned. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_gaa7e8a6e5e3a9fc45122554add40134db}\label{group__Ecore__IPC__Server__Group_gaa7e8a6e5e3a9fc45122554add40134db}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+connect@{ecore\+\_\+ipc\+\_\+server\+\_\+connect}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+connect@{ecore\+\_\+ipc\+\_\+server\+\_\+connect}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+connect()}{ecore\_ipc\_server\_connect()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}}$\ast$ ecore\+\_\+ipc\+\_\+server\+\_\+connect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga6458bde9508dc6eea168fe72b98d8e09}{Ecore\+\_\+\+Ipc\+\_\+\+Type}}}]{type,  }\item[{char $\ast$}]{name,  }\item[{int}]{port,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Creates an I\+PC server object to represent the I\+PC server listening on the given port. 

For more details about the {\ttfamily compl\+\_\+type}, {\ttfamily name} and {\ttfamily port} parameters, see the \mbox{\hyperlink{group__Ecore__Con__Server__Group_gae3d7391f7da5e0f748d7b6804d010b2f}{ecore\+\_\+con\+\_\+server\+\_\+connect}} documentation.


\begin{DoxyParams}{Parameters}
{\em compl\+\_\+type} & The I\+PC connection type. \\
\hline
{\em name} & Name used to determine which socket to use for the I\+PC connection. \\
\hline
{\em port} & Number used to identify the socket to use for the I\+PC connection. \\
\hline
{\em data} & Data to associate with the server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new I\+PC server. {\ttfamily N\+U\+LL} is returned on error. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga04148eb8454432091e29b185c68a3eb2}\label{group__Ecore__IPC__Server__Group_ga04148eb8454432091e29b185c68a3eb2}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+del@{ecore\+\_\+ipc\+\_\+server\+\_\+del}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+del@{ecore\+\_\+ipc\+\_\+server\+\_\+del}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+del()}{ecore\_ipc\_server\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void$\ast$ ecore\+\_\+ipc\+\_\+server\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr }\end{DoxyParamCaption})}



Closes the connection and frees the given I\+PC server. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given I\+PC server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data associated with the server when it was created. 
\end{DoxyReturn}


References D\+BG, ecore\+\_\+ipc\+\_\+client\+\_\+del(), eina\+\_\+list\+\_\+free(), E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+EE, and eina\+\_\+list\+\_\+remove().



Referenced by ecore\+\_\+ipc\+\_\+shutdown().

\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_gac32fe6a6757a54e6714fb080472f8901}\label{group__Ecore__IPC__Server__Group_gac32fe6a6757a54e6714fb080472f8901}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get()}{ecore\_ipc\_server\_data\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void$\ast$ ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr }\end{DoxyParamCaption})}



Retrieves the data associated with the given I\+PC server. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given I\+PC server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The associated data. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_gada787dfd83c0d9db2ee16bd2d849cd7d}\label{group__Ecore__IPC__Server__Group_gada787dfd83c0d9db2ee16bd2d849cd7d}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get()}{ecore\_ipc\_server\_connected\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+ipc\+\_\+server\+\_\+connected\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr }\end{DoxyParamCaption})}



Retrieves whether the given I\+PC server is currently connected. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given I\+PC server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if the server is connected, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_gaaca6af31372517b07f184604e3868fdc}\label{group__Ecore__IPC__Server__Group_gaaca6af31372517b07f184604e3868fdc}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get()}{ecore\_ipc\_server\_clients\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ ecore\+\_\+ipc\+\_\+server\+\_\+clients\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr }\end{DoxyParamCaption})}



Retrieves the list of clients for this server. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given I\+PC server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An Eina\+\_\+\+List with the clients. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga1fb98acb3bcab778e52bf35f932a5afa}\label{group__Ecore__IPC__Server__Group_ga1fb98acb3bcab778e52bf35f932a5afa}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+send@{ecore\+\_\+ipc\+\_\+server\+\_\+send}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+send@{ecore\+\_\+ipc\+\_\+server\+\_\+send}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+send()}{ecore\_ipc\_server\_send()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+ipc\+\_\+server\+\_\+send (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr,  }\item[{int}]{major,  }\item[{int}]{minor,  }\item[{int}]{ref,  }\item[{int}]{ref\+\_\+to,  }\item[{int}]{response,  }\item[{const void $\ast$}]{data,  }\item[{int}]{size }\end{DoxyParamCaption})}



Sends a message to the given I\+PC server. 

The content of the parameters, excluding the {\ttfamily svr} parameter, is up to the client.


\begin{DoxyParams}{Parameters}
{\em svr} & The given I\+PC server. \\
\hline
{\em major} & Major opcode of the message. \\
\hline
{\em minor} & Minor opcode of the message. \\
\hline
{\em ref} & Message reference number. \\
\hline
{\em ref\+\_\+to} & Reference number of the message this message refers to. \\
\hline
{\em response} & Requires response. \\
\hline
{\em data} & The data to send as part of the message. \\
\hline
{\em size} & Length of the data, in bytes, to send. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Number of bytes sent. {\ttfamily 0} is returned if there is an error. 
\end{DoxyReturn}


References eina\+\_\+error\+\_\+msg\+\_\+get(), and E\+RR.

\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_gae74ad64c4bfebcaa111fe1e878e8f900}\label{group__Ecore__IPC__Server__Group_gae74ad64c4bfebcaa111fe1e878e8f900}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set@{ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set@{ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set()}{ecore\_ipc\_server\_client\_limit\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+ipc\+\_\+server\+\_\+client\+\_\+limit\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr,  }\item[{int}]{client\+\_\+limit,  }\item[{char}]{reject\+\_\+excess\+\_\+clients }\end{DoxyParamCaption})}



Sets a limit on the number of clients that can be handled concurrently by the given server, and a policy on what to do if excess clients try to connect. 

Beware that if you set this once ecore is already running, you may already have pending C\+L\+I\+E\+N\+T\+\_\+\+A\+DD events in your event queue. Those clients have already connected and will not be affected by this call. Only clients subsequently trying to connect will be affected. 
\begin{DoxyParams}{Parameters}
{\em svr} & The given server. \\
\hline
{\em client\+\_\+limit} & The maximum number of clients to handle concurrently. -\/1 means unlimited (default). 0 effectively disables the server. \\
\hline
{\em reject\+\_\+excess\+\_\+clients} & Set to 1 to automatically disconnect excess clients as soon as they connect if you are already handling client\+\_\+limit clients. Set to 0 (default) to just hold off on the \char`\"{}accept()\char`\"{} system call until the number of active clients drops. This causes the kernel to queue up to 4096 connections (or your kernel\textquotesingle{}s limit, whichever is lower). \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga5b9e5bc3f1d229506e6fe6843e6c14e1}\label{group__Ecore__IPC__Server__Group_ga5b9e5bc3f1d229506e6fe6843e6c14e1}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set@{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set@{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set()}{ecore\_ipc\_server\_data\_size\_max\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{srv,  }\item[{int}]{size }\end{DoxyParamCaption})}



Sets the max data payload size for an Ipc message in bytes. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given server. \\
\hline
{\em size} & The maximum data payload size in bytes. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga02bef0d79f9c322ba6cfe40ef5f80940}\label{group__Ecore__IPC__Server__Group_ga02bef0d79f9c322ba6cfe40ef5f80940}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get()}{ecore\_ipc\_server\_data\_size\_max\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+ipc\+\_\+server\+\_\+data\+\_\+size\+\_\+max\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{srv }\end{DoxyParamCaption})}



Gets the max data payload size for an Ipc message in bytes. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The maximum data payload in bytes. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga9741afc035c8f1f01bed662efc38faa6}\label{group__Ecore__IPC__Server__Group_ga9741afc035c8f1f01bed662efc38faa6}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get@{ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get()}{ecore\_ipc\_server\_ip\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char$\ast$ ecore\+\_\+ipc\+\_\+server\+\_\+ip\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr }\end{DoxyParamCaption})}



Gets the IP address of a server that has been connected to. 


\begin{DoxyParams}{Parameters}
{\em svr} & The given server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pointer to an internal string that contains the IP address of the connected server in the form \char`\"{}\+X\+X\+X.\+Y\+Y\+Y.\+Z\+Z\+Z.\+A\+A\+A\char`\"{} IP notation. This string should not be modified or trusted to stay valid after deletion for the {\ttfamily svr} object. If no IP is known N\+U\+LL is returned. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Ecore__IPC__Server__Group_ga70cdc0c1aea94e13dc7b740c11313c9a}\label{group__Ecore__IPC__Server__Group_ga70cdc0c1aea94e13dc7b740c11313c9a}} 
\index{I\+P\+C Server Functions@{I\+P\+C Server Functions}!ecore\+\_\+ipc\+\_\+server\+\_\+flush@{ecore\+\_\+ipc\+\_\+server\+\_\+flush}}
\index{ecore\+\_\+ipc\+\_\+server\+\_\+flush@{ecore\+\_\+ipc\+\_\+server\+\_\+flush}!I\+P\+C Server Functions@{I\+P\+C Server Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+server\+\_\+flush()}{ecore\_ipc\_server\_flush()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+ipc\+\_\+server\+\_\+flush (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$}]{svr }\end{DoxyParamCaption})}



Flushes all pending data to the given server. 

Will return when done.


\begin{DoxyParams}{Parameters}
{\em svr} & The given server. \\
\hline
\end{DoxyParams}


References ecore\+\_\+main\+\_\+loop\+\_\+iterate(), E\+I\+N\+A\+\_\+\+T\+R\+UE, and E\+RR.

