\rhead{\bf MC\_AclSend()}
\noindent
\vspace{5pt}
\rule{6.5in}{0.015in}
\noindent
\phantomsection
{\LARGE \bf MC\_AclSend()\index{MC\_AclSend()}}\\
\addcontentsline{toc}{section}{MC\_AclSend()}
\label{api:MC\_AclSend()}

\noindent
{\bf Synopsis}\\
{\bf \#include $<$libmc.h$>$}\\
{\bf int MC\_AclSend}({\bf MCAgency\_t} $attr$, {\bf fipa\_acl\_message\_t*} $acl$);\\

\noindent
{\bf Purpose}\\
Send an ACL message.\\

\noindent
{\bf Return Value}\\
Returns 0 on success, non-zero on failure.\\

\noindent
{\bf Parameters}
\vspace{-0.1in}
\begin{description}
\item
\begin{tabular}{p{10 mm}p{145 mm}} 
$attr$ & An initialized Mobile-C agency handle.\\
$message$ & The ACL message to send. 
\end{tabular}
\end{description}

\noindent
{\bf Description}\\
This function will compose a fully compliant FIPA Acl message
and send it to the destinations as specified by the 'receiver' field of
the acl message. The function also creates a FIPA compliant
xml envelope which is attached to the message. The message is sent
using the FIPA compliant HTTP Message Transport Protocol.\\

\noindent
{\bf Example}\\
\noindent
{\footnotesize\verbatiminput{../demos/FIPA_compliant_ACL_messages/fipa_test/test2.xml}}

\noindent
{\bf See Also}\\
\texttt{
  MC\_AclNew(), MC\_AclPost(), MC\_AclReply(), MC\_AclRetrieve(), 
    \linebreak MC\_AclWaitRetrieve()
}

%\CPlot::\DataThreeD(), \CPlot::\DataFile(), \CPlot::\Plotting(), \plotxy().\\
