\doxysection{Low-\/level OSC API }
\hypertarget{group__liblolowlevel}{}\label{group__liblolowlevel}\index{Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \doxymbox{\hyperlink{structlo__server__config}{lo\+\_\+server\+\_\+config}}
\begin{DoxyCompactList}\small\item\em A configuration struct for initializing \doxylink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server} using \doxylink{group__liblolowlevel_ga0c47a0ffd8f54809a1a14e01fc809483}{lo\+\_\+server\+\_\+new\+\_\+from\+\_\+config()}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef long double \doxymbox{\hyperlink{group__liblolowlevel_ga0062385786b0375d4b6954ba1fb8d52b}{lo\+\_\+hires}}
\begin{DoxyCompactList}\small\item\em Type used to represent numerical values in conversions between OSC types. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \doxymbox{\hyperlink{group__liblolowlevel_ga302dd4ed3490f756b29013162a24a704}{lo\+\_\+slip\+\_\+encoding}} 
\begin{DoxyCompactList}\small\item\em Used with \doxylink{group__liblolowlevel_ga7cc8e328923b75ca4f6ca55da10b170a}{lo\+\_\+address\+\_\+set\+\_\+stream\+\_\+slip()} to specify whether sent messages should be encoded with SLIP, and whether the encoding should be single-\/ or double-\/\+ENDed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga175a13c6d81adf5c346cdca9bbdcf225}{lo\+\_\+send\+\_\+message}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} targ, const char \texorpdfstring{$\ast$}{*}path, \doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} msg)
\begin{DoxyCompactList}\small\item\em Send a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object to target targ. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga9d1aa7c1ee1ce60fe0cf7e3f1e5a6822}{lo\+\_\+send\+\_\+message\+\_\+from}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} targ, \doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} serv, const char \texorpdfstring{$\ast$}{*}path, \doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} msg)
\begin{DoxyCompactList}\small\item\em Send a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object to target targ from address of serv. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gad1138d0f777693ae0321e3da65aee53e}{lo\+\_\+send\+\_\+bundle}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} targ, \doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Send a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} object to address targ. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gab5de220b7d6d7c2bf6b0ca4316a54b7a}{lo\+\_\+send\+\_\+bundle\+\_\+from}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} targ, \doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} serv, \doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Send a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} object to address targ from address of serv. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} \doxymbox{\hyperlink{group__liblolowlevel_ga1e938ecc9160a194424423b400019410}{lo\+\_\+message\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Create a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gae4007dd073375b8448a0c8efcb39da52}{lo\+\_\+message\+\_\+incref}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Add one to a message\textquotesingle{}s reference count. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga3739a35c832a4d28da8d08ce86336f42}{lo\+\_\+message\+\_\+decref}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Subtract one from a message\textquotesingle{}s reference count. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} \doxymbox{\hyperlink{group__liblolowlevel_ga8cf4889aa1b479e3b6eaf8847c3b9e4f}{lo\+\_\+message\+\_\+clone}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Create a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object by cloning an already existing one. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga93d3687e77ae20167b82830c917a3e50}{lo\+\_\+message\+\_\+free}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Free memory allocated by \doxylink{group__liblolowlevel_ga1e938ecc9160a194424423b400019410}{lo\+\_\+message\+\_\+new()} and any subsequent \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32} lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}() calls. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gaca98bc3a7fe229c53090d0b36318fe43}{lo\+\_\+message\+\_\+clear}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Clear elements from a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} but do not free allocated memory. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga4e7a6d91a06e795ded9676d089abea24}{lo\+\_\+message\+\_\+add}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, const char \texorpdfstring{$\ast$}{*}types,...)
\begin{DoxyCompactList}\small\item\em Append a number of arguments to a message. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga9cd98b0c6ad5468692fd0b1936bd093f}{lo\+\_\+message\+\_\+add\+\_\+varargs}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, const char \texorpdfstring{$\ast$}{*}types, va\+\_\+list ap)
\begin{DoxyCompactList}\small\item\em Append a varargs list to a message. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, int32\+\_\+t a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga42815097ea691fd1ec0798beca7f8e5e}{lo\+\_\+message\+\_\+add\+\_\+float}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, float a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga4ff414b1b3d87454668dfd728b830888}{lo\+\_\+message\+\_\+add\+\_\+string}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, const char \texorpdfstring{$\ast$}{*}a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gac0ae2fc81d2a48fe63b0803637997fd4}{lo\+\_\+message\+\_\+add\+\_\+blob}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, \doxymbox{\hyperlink{lo__types_8h_a8f2b43f1b0709fab80bedc5a63f277f2}{lo\+\_\+blob}} a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga282ef81387abab0ce18f7479a4a817b5}{lo\+\_\+message\+\_\+add\+\_\+int64}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, int64\+\_\+t a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga03f8eafa4ba598c545f30e17b23d1c89}{lo\+\_\+message\+\_\+add\+\_\+timetag}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, \doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gadd3a8441ad5a749c43694e77594cf47b}{lo\+\_\+message\+\_\+add\+\_\+double}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, double a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga90e4dab46ecaabab4e34214429d622a7}{lo\+\_\+message\+\_\+add\+\_\+symbol}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, const char \texorpdfstring{$\ast$}{*}a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gab2423db077dea59c4049103819d2810b}{lo\+\_\+message\+\_\+add\+\_\+char}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, char a)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gaaea6ac25787de608199a988dc214f32e}{lo\+\_\+message\+\_\+add\+\_\+midi}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, uint8\+\_\+t a\+[4]\+)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga9da3df4838126910171a8e45ea34e9ec}{lo\+\_\+message\+\_\+add\+\_\+true}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga1c8a136e87e3d2befeb466e0a8a5a4ad}{lo\+\_\+message\+\_\+add\+\_\+false}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gabd3cd7f86137ae1a180e33c3bc5c9644}{lo\+\_\+message\+\_\+add\+\_\+nil}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga4cbd7d3834a67446b15f53acf316a72a}{lo\+\_\+message\+\_\+add\+\_\+infinitum}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} \doxymbox{\hyperlink{group__liblolowlevel_ga1f4e07e4f8b67edc98f4b300412a3dbb}{lo\+\_\+message\+\_\+get\+\_\+source}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Returns the source (\doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}) of an incoming message. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} \doxymbox{\hyperlink{group__liblolowlevel_ga164e068064afa94454eb6515b9b1748d}{lo\+\_\+message\+\_\+get\+\_\+timestamp}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Returns the timestamp (\doxylink{structlo__timetag}{lo\+\_\+timetag} \texorpdfstring{$\ast$}{*}) of a bundled incoming message. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga28e65c9e17a6762f12ff1198bc8c973d}{lo\+\_\+message\+\_\+get\+\_\+types}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Return the message type tag string. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga5b391362eda2c6019011f3db55049db3}{lo\+\_\+message\+\_\+get\+\_\+argc}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Return the message argument count. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga61c0a4447539d52b95a0aa11af420067}{lo\+\_\+message\+\_\+get\+\_\+argv}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Return the message arguments. Do not free the returned data. \end{DoxyCompactList}\item 
size\+\_\+t \doxymbox{\hyperlink{group__liblolowlevel_ga0855039d071b7031727213272857c27e}{lo\+\_\+message\+\_\+length}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, const char \texorpdfstring{$\ast$}{*}path)
\begin{DoxyCompactList}\small\item\em Return the length of a message in bytes. \end{DoxyCompactList}\item 
void \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga0319fda67dba973cbda0c0614cd2e572}{lo\+\_\+message\+\_\+serialise}} (\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m, const char \texorpdfstring{$\ast$}{*}path, void \texorpdfstring{$\ast$}{*}to, size\+\_\+t \texorpdfstring{$\ast$}{*}size)
\begin{DoxyCompactList}\small\item\em Serialise the \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object to an area of memory and return a pointer to the serialised form. Opposite of \doxylink{group__liblolowlevel_ga2f4644b2a1aae0d0eee456fe93ac158e}{lo\+\_\+message\+\_\+deserialise()}. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} \doxymbox{\hyperlink{group__liblolowlevel_ga2f4644b2a1aae0d0eee456fe93ac158e}{lo\+\_\+message\+\_\+deserialise}} (void \texorpdfstring{$\ast$}{*}data, size\+\_\+t size, int \texorpdfstring{$\ast$}{*}result)
\begin{DoxyCompactList}\small\item\em Deserialise a raw OSC message and return a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object. Opposite of \doxylink{group__liblolowlevel_ga0319fda67dba973cbda0c0614cd2e572}{lo\+\_\+message\+\_\+serialise()}. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga9e96445401c94c3751de27f8db1a0b50}{lo\+\_\+server\+\_\+dispatch\+\_\+data}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, void \texorpdfstring{$\ast$}{*}data, size\+\_\+t size)
\begin{DoxyCompactList}\small\item\em Dispatch a raw block of memory containing an OSC message. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga0a6ba65c3b486c5a9a2f51fc90eb3235}{lo\+\_\+address\+\_\+get\+\_\+hostname}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} a)
\begin{DoxyCompactList}\small\item\em Return the hostname of a \doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address} object. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gac3262b6d9adca5ee008a3411a24d1b0c}{lo\+\_\+address\+\_\+get\+\_\+port}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} a)
\begin{DoxyCompactList}\small\item\em Return the port/\+service name of a \doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address} object. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gaaae09ebb4cf42e92504fe9aa7e7b2184}{lo\+\_\+address\+\_\+get\+\_\+protocol}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} a)
\begin{DoxyCompactList}\small\item\em Return the protocol of a \doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address} object. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gad08a0fedc030283b708171cb7228292c}{lo\+\_\+address\+\_\+get\+\_\+url}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} a)
\begin{DoxyCompactList}\small\item\em Return a URL representing an OSC address. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gacd72097b92411db148844d89071fd281}{lo\+\_\+address\+\_\+set\+\_\+ttl}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} t, int ttl)
\begin{DoxyCompactList}\small\item\em Set the Time-\/to-\/\+Live value for a given target address. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga3652ba694ba3c153dc96917e7321131c}{lo\+\_\+address\+\_\+get\+\_\+ttl}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} t)
\begin{DoxyCompactList}\small\item\em Get the Time-\/to-\/\+Live value for a given target address. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga734c5864de14a04c9e58f82d6efe4624}{lo\+\_\+address\+\_\+set\+\_\+iface}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} t, const char \texorpdfstring{$\ast$}{*}iface, const char \texorpdfstring{$\ast$}{*}ip)
\begin{DoxyCompactList}\small\item\em Set the network interface to use for a given target address. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga92193435fca050595a66b1b93b59a9b8}{lo\+\_\+address\+\_\+get\+\_\+iface}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} t)
\begin{DoxyCompactList}\small\item\em Get the name of the network interface assigned to an OSC address. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga9d73ff7267077cc69f632cbfeb30a23e}{lo\+\_\+address\+\_\+set\+\_\+tcp\+\_\+nodelay}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} t, int enable)
\begin{DoxyCompactList}\small\item\em Set the TCP\+\_\+\+NODELAY flag on outgoing TCP connections. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga7cc8e328923b75ca4f6ca55da10b170a}{lo\+\_\+address\+\_\+set\+\_\+stream\+\_\+slip}} (\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} t, \doxymbox{\hyperlink{group__liblolowlevel_ga302dd4ed3490f756b29013162a24a704}{lo\+\_\+slip\+\_\+encoding}} encoding)
\begin{DoxyCompactList}\small\item\em Set outgoing stream connections (e.\+g., TCP) to be transmitted using the SLIP packetizing protocol. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} \doxymbox{\hyperlink{group__liblolowlevel_ga330a4a4e6227b185b3ec6219ff3e2859}{lo\+\_\+bundle\+\_\+new}} (\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} tt)
\begin{DoxyCompactList}\small\item\em Create a new bundle object. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gaef50603d58b7d9b9dfe77fabb426a528}{lo\+\_\+bundle\+\_\+incref}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Add one to a bundle\textquotesingle{}s reference count. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga1cc5e2eb20ce567a694f343764e25bb7}{lo\+\_\+bundle\+\_\+add\+\_\+message}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, const char \texorpdfstring{$\ast$}{*}path, \doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} m)
\begin{DoxyCompactList}\small\item\em Adds an OSC message to an existing bundle. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gad28eb5916f4d5c153069a56c1252f482}{lo\+\_\+bundle\+\_\+add\+\_\+bundle}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, \doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} n)
\begin{DoxyCompactList}\small\item\em Adds an OSC bundle to an existing bundle. \end{DoxyCompactList}\item 
size\+\_\+t \doxymbox{\hyperlink{group__liblolowlevel_gaa105f1c5b97a16beabdb6b4ab7af2b46}{lo\+\_\+bundle\+\_\+length}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Return the length of a bundle in bytes. \end{DoxyCompactList}\item 
unsigned int \doxymbox{\hyperlink{group__liblolowlevel_ga78f875268636e2f8d794b80d3ac10716}{lo\+\_\+bundle\+\_\+count}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Return the number of top-\/level elements in a bundle. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{group__liblo_ga08432d01f2b8f4a32ffa58992a821f28}{lo\+\_\+element\+\_\+type}} \doxymbox{\hyperlink{group__liblolowlevel_ga8c0a37924636ab24666246a3c595e959}{lo\+\_\+bundle\+\_\+get\+\_\+type}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, int index)
\begin{DoxyCompactList}\small\item\em Gets the element type contained within a bundle. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} \doxymbox{\hyperlink{group__liblolowlevel_gaafb86e502cd5f9b0a0f834409e0a8e6a}{lo\+\_\+bundle\+\_\+get\+\_\+bundle}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, int index)
\begin{DoxyCompactList}\small\item\em Gets a nested bundle contained within a bundle. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} \doxymbox{\hyperlink{group__liblolowlevel_ga18eef47e89f323e18027ce05f350833b}{lo\+\_\+bundle\+\_\+get\+\_\+message}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, int index, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}path)
\begin{DoxyCompactList}\small\item\em Gets a message contained within a bundle. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} \doxymbox{\hyperlink{group__liblolowlevel_gaeea3d61d6a4ae9efbd476f16d2758817}{lo\+\_\+bundle\+\_\+get\+\_\+timestamp}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Get the timestamp associated with a bundle. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga4715767a3c64ebf877c2073b33ee93c8}{lo\+\_\+bundle\+\_\+set\+\_\+timestamp}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, \doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} t)
\begin{DoxyCompactList}\small\item\em Get the timestamp associated with a bundle. \end{DoxyCompactList}\item 
void \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gaf7cde3ae75465870e7680087f46534b5}{lo\+\_\+bundle\+\_\+serialise}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b, void \texorpdfstring{$\ast$}{*}to, size\+\_\+t \texorpdfstring{$\ast$}{*}size)
\begin{DoxyCompactList}\small\item\em Serialise the bundle object to an area of memory and return a pointer to the serialised form. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga2c2300e6e65f0ab43fb0470bcad347c9}{lo\+\_\+bundle\+\_\+clear}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Clear elements from a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} but do not free allocated memory. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga2ba37901788d863d08a2b7d6ca4250e6}{lo\+\_\+bundle\+\_\+free}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Frees the memory taken by a bundle object. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga8ec7b8729ab98094619285ebe11f0d00}{lo\+\_\+bundle\+\_\+free\+\_\+recursive}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Frees the memory taken by a bundle object and its messages and nested bundles recursively. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga2773611a57270837fff398b716fa8459}{lo\+\_\+bundle\+\_\+free\+\_\+messages}} (\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} b)
\begin{DoxyCompactList}\small\item\em Obsolete, use lo\+\_\+bundle\+\_\+free\+\_\+recursive instead. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gace222e42c35d0256f115e00b84e8f853}{lo\+\_\+is\+\_\+numerical\+\_\+type}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} a)
\begin{DoxyCompactList}\small\item\em Return true if the type specified has a numerical value, such as LO\+\_\+\+INT32, LO\+\_\+\+FLOAT etc. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gaeb9f59d9f7bf8d50f21809e44889eee7}{lo\+\_\+is\+\_\+string\+\_\+type}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} a)
\begin{DoxyCompactList}\small\item\em Return true if the type specified has a textual value, such as LO\+\_\+\+STRING or LO\+\_\+\+SYMBOL. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gaf85d7a54ab80e1b2a3d17c4cfef38402}{lo\+\_\+coerce}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} type\+\_\+to, \doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}to, \doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} type\+\_\+from, \doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}from)
\begin{DoxyCompactList}\small\item\em Attempt to convert one OSC type to another. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{group__liblolowlevel_ga0062385786b0375d4b6954ba1fb8d52b}{lo\+\_\+hires}} \doxymbox{\hyperlink{group__liblolowlevel_gafb7036664581480c9f2e898e57704c1b}{lo\+\_\+hires\+\_\+val}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} type, \doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}p)
\begin{DoxyCompactList}\small\item\em Return the numerical value of the given argument with the maximum native system precision. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \doxymbox{\hyperlink{group__liblolowlevel_ga78cfb23346e44465695293d4393447ae}{lo\+\_\+server\+\_\+new}} (const char \texorpdfstring{$\ast$}{*}port, \doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}} err\+\_\+h)
\begin{DoxyCompactList}\small\item\em Create a new server instance. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \doxymbox{\hyperlink{group__liblolowlevel_ga4afa474b11ed0d4511857ae79c56aaa1}{lo\+\_\+server\+\_\+new\+\_\+with\+\_\+proto}} (const char \texorpdfstring{$\ast$}{*}port, int proto, \doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}} err\+\_\+h)
\begin{DoxyCompactList}\small\item\em Create a new server instance, specifying protocol. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \doxymbox{\hyperlink{group__liblolowlevel_ga849f4517a29ad850069cf8f2976a9284}{lo\+\_\+server\+\_\+new\+\_\+multicast}} (const char \texorpdfstring{$\ast$}{*}group, const char \texorpdfstring{$\ast$}{*}port, \doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}} err\+\_\+h)
\begin{DoxyCompactList}\small\item\em Create a new server instance, and join a UDP multicast group. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \doxymbox{\hyperlink{group__liblolowlevel_gadec49f210324f499f2e9593df20128cb}{lo\+\_\+server\+\_\+new\+\_\+multicast\+\_\+iface}} (const char \texorpdfstring{$\ast$}{*}group, const char \texorpdfstring{$\ast$}{*}port, const char \texorpdfstring{$\ast$}{*}iface, const char \texorpdfstring{$\ast$}{*}ip, \doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}} err\+\_\+h)
\begin{DoxyCompactList}\small\item\em Create a new server instance, and join a UDP multicast group, optionally specifying which network interface to use. Note that usually only one of iface or ip are specified. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \doxymbox{\hyperlink{group__liblolowlevel_ga1246a1f4a2ba967d31017452a32daf2a}{lo\+\_\+server\+\_\+new\+\_\+from\+\_\+url}} (const char \texorpdfstring{$\ast$}{*}url, \doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}} err\+\_\+h)
\begin{DoxyCompactList}\small\item\em Create a new server instance, taking port and the optional multicast group IP from an URL string. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \doxymbox{\hyperlink{group__liblolowlevel_ga0c47a0ffd8f54809a1a14e01fc809483}{lo\+\_\+server\+\_\+new\+\_\+from\+\_\+config}} (\doxymbox{\hyperlink{structlo__server__config}{lo\+\_\+server\+\_\+config}} \texorpdfstring{$\ast$}{*}config)
\begin{DoxyCompactList}\small\item\em Create a new server instance, using a configuration struct. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga175ef81fc2d695895967bfc30a495b2a}{lo\+\_\+server\+\_\+enable\+\_\+coercion}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} server, int enable)
\begin{DoxyCompactList}\small\item\em Enables or disables type coercion during message dispatch. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gad3dc9193e1eef0d71a4b046242b64216}{lo\+\_\+server\+\_\+free}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Free up memory used by the \doxylink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server} object. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga33cdcfbab89d58f82175386a76698822}{lo\+\_\+server\+\_\+wait}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, int timeout)
\begin{DoxyCompactList}\small\item\em Wait for an OSC message to be received. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gaa1821643c567abbdd681ccda349c4311}{lo\+\_\+servers\+\_\+wait}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \texorpdfstring{$\ast$}{*}s, int \texorpdfstring{$\ast$}{*}status, int num\+\_\+servers, int timeout)
\begin{DoxyCompactList}\small\item\em Wait on multiple servers for an OSC message to be received. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga784a257252d05cc0e7210f4691f0661b}{lo\+\_\+server\+\_\+recv\+\_\+noblock}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, int timeout)
\begin{DoxyCompactList}\small\item\em Look for an OSC message waiting to be received. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga2b7b00790f273135fab8fb9210dc61d2}{lo\+\_\+servers\+\_\+recv\+\_\+noblock}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \texorpdfstring{$\ast$}{*}s, int \texorpdfstring{$\ast$}{*}recvd, int num\+\_\+servers, int timeout)
\begin{DoxyCompactList}\small\item\em Look for an OSC message waiting to be received on multiple servers. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Block, waiting for an OSC message to be received. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\+\_\+method}} \doxymbox{\hyperlink{group__liblolowlevel_ga56c5f1d587c215c27e92e6436e12b1a3}{lo\+\_\+server\+\_\+add\+\_\+method}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, const char \texorpdfstring{$\ast$}{*}path, const char \texorpdfstring{$\ast$}{*}typespec, \doxymbox{\hyperlink{lo__types_8h_a5b38e0822e47acaa3c7267348f50f66c}{lo\+\_\+method\+\_\+handler}} h, const void \texorpdfstring{$\ast$}{*}user\+\_\+data)
\begin{DoxyCompactList}\small\item\em Add an OSC method to the specifed server. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gaf834a6d62de7dcceaede62325e74c763}{lo\+\_\+server\+\_\+del\+\_\+method}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, const char \texorpdfstring{$\ast$}{*}path, const char \texorpdfstring{$\ast$}{*}typespec)
\begin{DoxyCompactList}\small\item\em Delete an OSC method from the specified server. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gabbeecd7e7f337906e13654b7f35253fd}{lo\+\_\+server\+\_\+del\+\_\+lo\+\_\+method}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, \doxymbox{\hyperlink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\+\_\+method}} m)
\begin{DoxyCompactList}\small\item\em Delete a specific OSC method from the specified server. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga1411fdb0c8037a4dd3ab19af35df50ac}{lo\+\_\+server\+\_\+add\+\_\+bundle\+\_\+handlers}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, \doxymbox{\hyperlink{lo__types_8h_a056b3149631bb154049fa12101838b35}{lo\+\_\+bundle\+\_\+start\+\_\+handler}} sh, \doxymbox{\hyperlink{lo__types_8h_ad5445ab4f0e562d715162d2ab7bbe85f}{lo\+\_\+bundle\+\_\+end\+\_\+handler}} eh, void \texorpdfstring{$\ast$}{*}user\+\_\+data)
\begin{DoxyCompactList}\small\item\em Add bundle notification handlers to the specified server. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gae11ca5a5b4ec2943d5a04642ba5052ae}{lo\+\_\+server\+\_\+get\+\_\+socket\+\_\+fd}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Return the file descriptor of the server socket. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga532ef6e1b8675b23e65dd19eeb648c1d}{lo\+\_\+server\+\_\+get\+\_\+port}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Return the port number that the server has bound to. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gab40a599fe8440512b18479dac333e89f}{lo\+\_\+server\+\_\+get\+\_\+protocol}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Return the protocol that the server is using. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga18cdac28445b16ff0f7c26c213d8e9eb}{lo\+\_\+server\+\_\+get\+\_\+url}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Return an OSC URL that can be used to contact the server. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga3e23b9b6027042e136f344d001431ac6}{lo\+\_\+server\+\_\+enable\+\_\+queue}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, int queue\+\_\+enabled, int dispatch\+\_\+remaining)
\begin{DoxyCompactList}\small\item\em Toggle event queue. If queueing is enabled, timetagged messages that are sent in advance of the current time will be put on an internal queue, and they will be dispatched at the indicated time. By default, queueing is enabled. Use this function to disable it, if it is desired to have a server process messages immediately. In that case, use \doxylink{group__liblolowlevel_ga164e068064afa94454eb6515b9b1748d}{lo\+\_\+message\+\_\+get\+\_\+timestamp()} to get the message timestamp from within a method handler. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga04feb1063c3f4df6fec41405b28dd99a}{lo\+\_\+server\+\_\+events\+\_\+pending}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Return true if there are scheduled events (eg. from bundles) waiting to be dispatched by the server. \end{DoxyCompactList}\item 
double \doxymbox{\hyperlink{group__liblolowlevel_ga750076fdd75e2a7d3e442f6bd5968fb9}{lo\+\_\+server\+\_\+next\+\_\+event\+\_\+delay}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s)
\begin{DoxyCompactList}\small\item\em Return the time in seconds until the next scheduled event. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga9474e6c57e59bd99fd92d0fc8cbe3b88}{lo\+\_\+server\+\_\+max\+\_\+msg\+\_\+size}} (\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} s, int req\+\_\+size)
\begin{DoxyCompactList}\small\item\em Set the maximum message size accepted by a server. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gad9b547916d9e93187d02d61a2f083167}{lo\+\_\+url\+\_\+get\+\_\+protocol}} (const char \texorpdfstring{$\ast$}{*}url)
\begin{DoxyCompactList}\small\item\em Return the protocol portion of an OSC URL, eg. udp, tcp. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga0550cc91417b530c26a360b10072a3cb}{lo\+\_\+url\+\_\+get\+\_\+protocol\+\_\+id}} (const char \texorpdfstring{$\ast$}{*}url)
\begin{DoxyCompactList}\small\item\em Return the protocol ID of an OSC URL. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_ga97741eda3a779985d15c6df6214b9225}{lo\+\_\+url\+\_\+get\+\_\+hostname}} (const char \texorpdfstring{$\ast$}{*}url)
\begin{DoxyCompactList}\small\item\em Return the hostname portion of an OSC URL. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gaee2f6eeb9f7dc9f1dcb14d721eee2575}{lo\+\_\+url\+\_\+get\+\_\+port}} (const char \texorpdfstring{$\ast$}{*}url)
\begin{DoxyCompactList}\small\item\em Return the port portion of an OSC URL. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gafb4d8889e3f6b45fd48fad4e3e3a4152}{lo\+\_\+url\+\_\+get\+\_\+path}} (const char \texorpdfstring{$\ast$}{*}url)
\begin{DoxyCompactList}\small\item\em Return the path portion of an OSC URL. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gae62aa870bad161e4507f6338820ac243}{lo\+\_\+strsize}} (const char \texorpdfstring{$\ast$}{*}s)
\begin{DoxyCompactList}\small\item\em A function to calculate the amount of OSC message space required by a C char \texorpdfstring{$\ast$}{*}. \end{DoxyCompactList}\item 
uint32\+\_\+t \doxymbox{\hyperlink{group__liblolowlevel_ga2315f71c3832c365bce25d9b21726043}{lo\+\_\+blobsize}} (\doxymbox{\hyperlink{lo__types_8h_a8f2b43f1b0709fab80bedc5a63f277f2}{lo\+\_\+blob}} b)
\begin{DoxyCompactList}\small\item\em A function to calculate the amount of OSC message space required by a \doxylink{lo__types_8h_a8f2b43f1b0709fab80bedc5a63f277f2}{lo\+\_\+blob} object. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_gac26f3d15dbd23f34d4f9e4f6f0b81bbb}{lo\+\_\+pattern\+\_\+match}} (const char \texorpdfstring{$\ast$}{*}str, const char \texorpdfstring{$\ast$}{*}p)
\begin{DoxyCompactList}\small\item\em Test a string against an OSC pattern glob. \end{DoxyCompactList}\item 
int \doxymbox{\hyperlink{group__liblolowlevel_ga2426ef7d8173e6ec42c035c38282f066}{lo\+\_\+string\+\_\+contains\+\_\+pattern}} (const char \texorpdfstring{$\ast$}{*}str)
\begin{DoxyCompactList}\small\item\em Test if a string contains any OSC pattern characters. \end{DoxyCompactList}\item 
double \doxymbox{\hyperlink{group__liblolowlevel_ga9937fce1bfce695b01cd3289ead8b919}{lo\+\_\+timetag\+\_\+diff}} (\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} a, \doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} b)
\begin{DoxyCompactList}\small\item\em Find the time difference between two timetags. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gad687e21ed611e68748e962502ae63d8e}{lo\+\_\+timetag\+\_\+now}} (\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} \texorpdfstring{$\ast$}{*}t)
\begin{DoxyCompactList}\small\item\em Return a timetag for the current time. \end{DoxyCompactList}\item 
size\+\_\+t \doxymbox{\hyperlink{group__liblolowlevel_gaf793bbd32346a91d7d680d91ae68d1bd}{lo\+\_\+arg\+\_\+size}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} type, void \texorpdfstring{$\ast$}{*}data)
\begin{DoxyCompactList}\small\item\em Return the storage size, in bytes, of the given argument. \end{DoxyCompactList}\item 
char \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{group__liblolowlevel_gad13890bdbfe090541443fd39e0a68a58}{lo\+\_\+get\+\_\+path}} (void \texorpdfstring{$\ast$}{*}data, ssize\+\_\+t size)
\begin{DoxyCompactList}\small\item\em Given a raw OSC message, return the message path. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_ga29fc246595334f29d97d11b0186b17bd}{lo\+\_\+arg\+\_\+host\+\_\+endian}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} type, void \texorpdfstring{$\ast$}{*}data)
\begin{DoxyCompactList}\small\item\em Convert the specified argument to host byte order where necessary. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{group__liblolowlevel_gad775da1d9ef1feaf1b76077143dc3e96}{lo\+\_\+arg\+\_\+network\+\_\+endian}} (\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}} type, void \texorpdfstring{$\ast$}{*}data)
\begin{DoxyCompactList}\small\item\em Convert the specified argument to network byte order where necessary. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Use these functions if you require more precise control over OSC message contruction or handling that what is provided in the high-\/level functions described in liblo. 

\label{doc-typedef-members}
\Hypertarget{group__liblolowlevel_doc-typedef-members}
\doxysubsection{Typedef Documentation}
\Hypertarget{group__liblolowlevel_ga0062385786b0375d4b6954ba1fb8d52b}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_hires@{lo\_hires}}
\index{lo\_hires@{lo\_hires}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_hires}{lo\_hires}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga0062385786b0375d4b6954ba1fb8d52b} 
typedef long double \doxymbox{\hyperlink{group__liblolowlevel_ga0062385786b0375d4b6954ba1fb8d52b}{lo\+\_\+hires}}}



Type used to represent numerical values in conversions between OSC types. 



Definition at line \doxymbox{\hyperlink{lo__lowlevel_8h_source_l00056}{56}} of file \doxymbox{\hyperlink{lo__lowlevel_8h_source}{lo\+\_\+lowlevel.\+h}}.



\label{doc-enum-members}
\Hypertarget{group__liblolowlevel_doc-enum-members}
\doxysubsection{Enumeration Type Documentation}
\Hypertarget{group__liblolowlevel_ga302dd4ed3490f756b29013162a24a704}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_slip\_encoding@{lo\_slip\_encoding}}
\index{lo\_slip\_encoding@{lo\_slip\_encoding}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_slip\_encoding}{lo\_slip\_encoding}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga302dd4ed3490f756b29013162a24a704} 
enum \doxymbox{\hyperlink{group__liblolowlevel_ga302dd4ed3490f756b29013162a24a704}{lo\+\_\+slip\+\_\+encoding}}}



Used with \doxylink{group__liblolowlevel_ga7cc8e328923b75ca4f6ca55da10b170a}{lo\+\_\+address\+\_\+set\+\_\+stream\+\_\+slip()} to specify whether sent messages should be encoded with SLIP, and whether the encoding should be single-\/ or double-\/\+ENDed. 



Definition at line \doxymbox{\hyperlink{lo__lowlevel_8h_source_l00085}{85}} of file \doxymbox{\hyperlink{lo__lowlevel_8h_source}{lo\+\_\+lowlevel.\+h}}.



\label{doc-func-members}
\Hypertarget{group__liblolowlevel_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{group__liblolowlevel_ga0a6ba65c3b486c5a9a2f51fc90eb3235}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_get\_hostname@{lo\_address\_get\_hostname}}
\index{lo\_address\_get\_hostname@{lo\_address\_get\_hostname}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_get\_hostname()}{lo\_address\_get\_hostname()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga0a6ba65c3b486c5a9a2f51fc90eb3235} 
const char \texorpdfstring{$\ast$}{*} lo\+\_\+address\+\_\+get\+\_\+hostname (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{a}{}\end{DoxyParamCaption})}



Return the hostname of a \doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address} object. 

Returned value must not be modified or free\textquotesingle{}d. Value will be a dotted quad, colon\textquotesingle{}d IPV6 address, or resolvable name. \Hypertarget{group__liblolowlevel_ga92193435fca050595a66b1b93b59a9b8}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_get\_iface@{lo\_address\_get\_iface}}
\index{lo\_address\_get\_iface@{lo\_address\_get\_iface}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_get\_iface()}{lo\_address\_get\_iface()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga92193435fca050595a66b1b93b59a9b8} 
const char \texorpdfstring{$\ast$}{*} lo\+\_\+address\+\_\+get\+\_\+iface (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{t}{}\end{DoxyParamCaption})}



Get the name of the network interface assigned to an OSC address. 


\begin{DoxyParams}{Parameters}
{\em t} & An OSC address. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string pointer or 0 if no interface has been assigned. Caller should not modify the provided string. It is a legal pointer until the next call to lo\+\_\+address\+\_\+set\+\_\+iface or lo\+\_\+address\+\_\+free. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gac3262b6d9adca5ee008a3411a24d1b0c}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_get\_port@{lo\_address\_get\_port}}
\index{lo\_address\_get\_port@{lo\_address\_get\_port}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_get\_port()}{lo\_address\_get\_port()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gac3262b6d9adca5ee008a3411a24d1b0c} 
const char \texorpdfstring{$\ast$}{*} lo\+\_\+address\+\_\+get\+\_\+port (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{a}{}\end{DoxyParamCaption})}



Return the port/\+service name of a \doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address} object. 

Returned value must not be modified or free\textquotesingle{}d. Value will be a service name or ASCII representation of the port number. \Hypertarget{group__liblolowlevel_gaaae09ebb4cf42e92504fe9aa7e7b2184}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_get\_protocol@{lo\_address\_get\_protocol}}
\index{lo\_address\_get\_protocol@{lo\_address\_get\_protocol}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_get\_protocol()}{lo\_address\_get\_protocol()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaaae09ebb4cf42e92504fe9aa7e7b2184} 
int lo\+\_\+address\+\_\+get\+\_\+protocol (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{a}{}\end{DoxyParamCaption})}



Return the protocol of a \doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address} object. 

Returned value will be one of LO\+\_\+\+UDP, LO\+\_\+\+TCP or LO\+\_\+\+UNIX. \Hypertarget{group__liblolowlevel_ga3652ba694ba3c153dc96917e7321131c}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_get\_ttl@{lo\_address\_get\_ttl}}
\index{lo\_address\_get\_ttl@{lo\_address\_get\_ttl}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_get\_ttl()}{lo\_address\_get\_ttl()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga3652ba694ba3c153dc96917e7321131c} 
int lo\+\_\+address\+\_\+get\+\_\+ttl (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{t}{}\end{DoxyParamCaption})}



Get the Time-\/to-\/\+Live value for a given target address. 


\begin{DoxyParams}{Parameters}
{\em t} & An OSC address. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An integer specifying the scope of a multicast UDP message. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gad08a0fedc030283b708171cb7228292c}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_get\_url@{lo\_address\_get\_url}}
\index{lo\_address\_get\_url@{lo\_address\_get\_url}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_get\_url()}{lo\_address\_get\_url()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad08a0fedc030283b708171cb7228292c} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+address\+\_\+get\+\_\+url (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{a}{}\end{DoxyParamCaption})}



Return a URL representing an OSC address. 

Returned value must be free\textquotesingle{}d. \Hypertarget{group__liblolowlevel_ga734c5864de14a04c9e58f82d6efe4624}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_set\_iface@{lo\_address\_set\_iface}}
\index{lo\_address\_set\_iface@{lo\_address\_set\_iface}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_set\_iface()}{lo\_address\_set\_iface()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga734c5864de14a04c9e58f82d6efe4624} 
int lo\+\_\+address\+\_\+set\+\_\+iface (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{t}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{iface}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{ip}{}\end{DoxyParamCaption})}



Set the network interface to use for a given target address. 

The caller should specify either the iface or ip variable. The IP, if specified, should match the same network family as the OSC address. (That is, should correctly correspond to IPv4 or IPv6.) Typically the assigned network interface will only be used in the case of sending multicast messages. It is recommended to use the if\+\_\+nameindex POSIX function to get a list of network interface names.


\begin{DoxyParams}{Parameters}
{\em t} & An OSC address. \\
\hline
{\em iface} & The name of a network interface on the local system. \\
\hline
{\em ip} & The IP address of a network interface on the local system. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 if the interface was successfully identified, or non-\/zero otherwise. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga7cc8e328923b75ca4f6ca55da10b170a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_set\_stream\_slip@{lo\_address\_set\_stream\_slip}}
\index{lo\_address\_set\_stream\_slip@{lo\_address\_set\_stream\_slip}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_set\_stream\_slip()}{lo\_address\_set\_stream\_slip()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga7cc8e328923b75ca4f6ca55da10b170a} 
int lo\+\_\+address\+\_\+set\+\_\+stream\+\_\+slip (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{t}{, }\item[{\doxymbox{\hyperlink{group__liblolowlevel_ga302dd4ed3490f756b29013162a24a704}{lo\+\_\+slip\+\_\+encoding}}}]{encoding}{}\end{DoxyParamCaption})}



Set outgoing stream connections (e.\+g., TCP) to be transmitted using the SLIP packetizing protocol. 


\begin{DoxyParams}{Parameters}
{\em t} & The address to set this flag for. \\
\hline
{\em encoding} & Specify single-\/ or double-\/\+ENDed SLIP, or disable SLIP. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the previous value of this flag. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga9d73ff7267077cc69f632cbfeb30a23e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_set\_tcp\_nodelay@{lo\_address\_set\_tcp\_nodelay}}
\index{lo\_address\_set\_tcp\_nodelay@{lo\_address\_set\_tcp\_nodelay}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_set\_tcp\_nodelay()}{lo\_address\_set\_tcp\_nodelay()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9d73ff7267077cc69f632cbfeb30a23e} 
int lo\+\_\+address\+\_\+set\+\_\+tcp\+\_\+nodelay (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{t}{, }\item[{int}]{enable}{}\end{DoxyParamCaption})}



Set the TCP\+\_\+\+NODELAY flag on outgoing TCP connections. 


\begin{DoxyParams}{Parameters}
{\em t} & The address to set this flag for. \\
\hline
{\em enable} & Non-\/zero to set the flag, zero to unset it. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the previous value of this flag. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gacd72097b92411db148844d89071fd281}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_address\_set\_ttl@{lo\_address\_set\_ttl}}
\index{lo\_address\_set\_ttl@{lo\_address\_set\_ttl}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_address\_set\_ttl()}{lo\_address\_set\_ttl()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gacd72097b92411db148844d89071fd281} 
void lo\+\_\+address\+\_\+set\+\_\+ttl (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{t}{, }\item[{int}]{ttl}{}\end{DoxyParamCaption})}



Set the Time-\/to-\/\+Live value for a given target address. 

This is required for sending multicast UDP messages. A value of 1 (the usual case) keeps the message within the subnet, while 255 means a global, unrestricted scope.


\begin{DoxyParams}{Parameters}
{\em t} & An OSC address. \\
\hline
{\em ttl} & An integer specifying the scope of a multicast UDP message. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga29fc246595334f29d97d11b0186b17bd}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_arg\_host\_endian@{lo\_arg\_host\_endian}}
\index{lo\_arg\_host\_endian@{lo\_arg\_host\_endian}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_arg\_host\_endian()}{lo\_arg\_host\_endian()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga29fc246595334f29d97d11b0186b17bd} 
void lo\+\_\+arg\+\_\+host\+\_\+endian (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{type}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{data}{}\end{DoxyParamCaption})}



Convert the specified argument to host byte order where necessary. 


\begin{DoxyParams}{Parameters}
{\em type} & The OSC type of the data item (eg. LO\+\_\+\+FLOAT). \\
\hline
{\em data} & A pointer to the data item to be converted. It is changed in-\/place. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gad775da1d9ef1feaf1b76077143dc3e96}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_arg\_network\_endian@{lo\_arg\_network\_endian}}
\index{lo\_arg\_network\_endian@{lo\_arg\_network\_endian}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_arg\_network\_endian()}{lo\_arg\_network\_endian()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad775da1d9ef1feaf1b76077143dc3e96} 
void lo\+\_\+arg\+\_\+network\+\_\+endian (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{type}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{data}{}\end{DoxyParamCaption})}



Convert the specified argument to network byte order where necessary. 


\begin{DoxyParams}{Parameters}
{\em type} & The OSC type of the data item (eg. LO\+\_\+\+FLOAT). \\
\hline
{\em data} & A pointer to the data item to be converted. It is changed in-\/place. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gaf793bbd32346a91d7d680d91ae68d1bd}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_arg\_size@{lo\_arg\_size}}
\index{lo\_arg\_size@{lo\_arg\_size}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_arg\_size()}{lo\_arg\_size()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaf793bbd32346a91d7d680d91ae68d1bd} 
size\+\_\+t lo\+\_\+arg\+\_\+size (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{type}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{data}{}\end{DoxyParamCaption})}



Return the storage size, in bytes, of the given argument. 

\Hypertarget{group__liblolowlevel_ga2315f71c3832c365bce25d9b21726043}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_blobsize@{lo\_blobsize}}
\index{lo\_blobsize@{lo\_blobsize}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_blobsize()}{lo\_blobsize()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2315f71c3832c365bce25d9b21726043} 
uint32\+\_\+t lo\+\_\+blobsize (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a8f2b43f1b0709fab80bedc5a63f277f2}{lo\+\_\+blob}}}]{b}{}\end{DoxyParamCaption})}



A function to calculate the amount of OSC message space required by a \doxylink{lo__types_8h_a8f2b43f1b0709fab80bedc5a63f277f2}{lo\+\_\+blob} object. 

Returns the storage size in bytes, which will always be a multiple of four. \Hypertarget{group__liblolowlevel_gad28eb5916f4d5c153069a56c1252f482}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_add\_bundle@{lo\_bundle\_add\_bundle}}
\index{lo\_bundle\_add\_bundle@{lo\_bundle\_add\_bundle}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_add\_bundle()}{lo\_bundle\_add\_bundle()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad28eb5916f4d5c153069a56c1252f482} 
int lo\+\_\+bundle\+\_\+add\+\_\+bundle (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{n}{}\end{DoxyParamCaption})}



Adds an OSC bundle to an existing bundle. 

The child bundle passed is appended to the list of child bundles\texorpdfstring{$\vert$}{|}messages in the parent bundle to be dispatched.

\begin{DoxyReturn}{Returns}
0 if successful, less than 0 otherwise. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga1cc5e2eb20ce567a694f343764e25bb7}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_add\_message@{lo\_bundle\_add\_message}}
\index{lo\_bundle\_add\_message@{lo\_bundle\_add\_message}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_add\_message()}{lo\_bundle\_add\_message()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga1cc5e2eb20ce567a694f343764e25bb7} 
int lo\+\_\+bundle\+\_\+add\+\_\+message (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Adds an OSC message to an existing bundle. 

The message passed is appended to the list of messages in the bundle to be dispatched to \textquotesingle{}path\textquotesingle{}.

\begin{DoxyReturn}{Returns}
0 if successful, less than 0 otherwise. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga2c2300e6e65f0ab43fb0470bcad347c9}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_clear@{lo\_bundle\_clear}}
\index{lo\_bundle\_clear@{lo\_bundle\_clear}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_clear()}{lo\_bundle\_clear()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2c2300e6e65f0ab43fb0470bcad347c9} 
void lo\+\_\+bundle\+\_\+clear (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Clear elements from a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} but do not free allocated memory. 

\Hypertarget{group__liblolowlevel_ga78f875268636e2f8d794b80d3ac10716}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_count@{lo\_bundle\_count}}
\index{lo\_bundle\_count@{lo\_bundle\_count}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_count()}{lo\_bundle\_count()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga78f875268636e2f8d794b80d3ac10716} 
unsigned int lo\+\_\+bundle\+\_\+count (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Return the number of top-\/level elements in a bundle. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle to be counted. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga2ba37901788d863d08a2b7d6ca4250e6}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_free@{lo\_bundle\_free}}
\index{lo\_bundle\_free@{lo\_bundle\_free}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_free()}{lo\_bundle\_free()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2ba37901788d863d08a2b7d6ca4250e6} 
void lo\+\_\+bundle\+\_\+free (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Frees the memory taken by a bundle object. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle to be freed. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga2773611a57270837fff398b716fa8459}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_free\_messages@{lo\_bundle\_free\_messages}}
\index{lo\_bundle\_free\_messages@{lo\_bundle\_free\_messages}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_free\_messages()}{lo\_bundle\_free\_messages()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2773611a57270837fff398b716fa8459} 
void lo\+\_\+bundle\+\_\+free\+\_\+messages (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Obsolete, use lo\+\_\+bundle\+\_\+free\+\_\+recursive instead. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle, which may contain messages and nested bundles, to be freed. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga8ec7b8729ab98094619285ebe11f0d00}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_free\_recursive@{lo\_bundle\_free\_recursive}}
\index{lo\_bundle\_free\_recursive@{lo\_bundle\_free\_recursive}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_free\_recursive()}{lo\_bundle\_free\_recursive()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga8ec7b8729ab98094619285ebe11f0d00} 
void lo\+\_\+bundle\+\_\+free\+\_\+recursive (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Frees the memory taken by a bundle object and its messages and nested bundles recursively. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle, which may contain messages and nested bundles, to be freed. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gaafb86e502cd5f9b0a0f834409e0a8e6a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_get\_bundle@{lo\_bundle\_get\_bundle}}
\index{lo\_bundle\_get\_bundle@{lo\_bundle\_get\_bundle}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_get\_bundle()}{lo\_bundle\_get\_bundle()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaafb86e502cd5f9b0a0f834409e0a8e6a} 
\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} lo\+\_\+bundle\+\_\+get\+\_\+bundle (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{int}]{index}{}\end{DoxyParamCaption})}



Gets a nested bundle contained within a bundle. 

Returns a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} at a given index within a bundle.

\begin{DoxyReturn}{Returns}
The requested \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} if successful, otherwise 0. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga18eef47e89f323e18027ce05f350833b}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_get\_message@{lo\_bundle\_get\_message}}
\index{lo\_bundle\_get\_message@{lo\_bundle\_get\_message}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_get\_message()}{lo\_bundle\_get\_message()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga18eef47e89f323e18027ce05f350833b} 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} lo\+\_\+bundle\+\_\+get\+\_\+message (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{int}]{index}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{path}{}\end{DoxyParamCaption})}



Gets a message contained within a bundle. 

Returns a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} at a given index within a bundle, and optionally the path associated with that message.

\begin{DoxyReturn}{Returns}
The requested \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} if successful, otherwise 0. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gaeea3d61d6a4ae9efbd476f16d2758817}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_get\_timestamp@{lo\_bundle\_get\_timestamp}}
\index{lo\_bundle\_get\_timestamp@{lo\_bundle\_get\_timestamp}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_get\_timestamp()}{lo\_bundle\_get\_timestamp()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaeea3d61d6a4ae9efbd476f16d2758817} 
\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} lo\+\_\+bundle\+\_\+get\+\_\+timestamp (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Get the timestamp associated with a bundle. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle for which the timestamp should be returned.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The timestamp of the bundle as a \doxylink{structlo__timetag}{lo\+\_\+timetag}. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga8c0a37924636ab24666246a3c595e959}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_get\_type@{lo\_bundle\_get\_type}}
\index{lo\_bundle\_get\_type@{lo\_bundle\_get\_type}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_get\_type()}{lo\_bundle\_get\_type()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga8c0a37924636ab24666246a3c595e959} 
\doxymbox{\hyperlink{group__liblo_ga08432d01f2b8f4a32ffa58992a821f28}{lo\+\_\+element\+\_\+type}} lo\+\_\+bundle\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{int}]{index}{}\end{DoxyParamCaption})}



Gets the element type contained within a bundle. 

Returns a \doxylink{group__liblo_ga08432d01f2b8f4a32ffa58992a821f28}{lo\+\_\+element\+\_\+type} at a given index within a bundle.

\begin{DoxyReturn}{Returns}
The requested \doxylink{group__liblo_ga08432d01f2b8f4a32ffa58992a821f28}{lo\+\_\+element\+\_\+type} if successful, otherwise 0. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gaef50603d58b7d9b9dfe77fabb426a528}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_incref@{lo\_bundle\_incref}}
\index{lo\_bundle\_incref@{lo\_bundle\_incref}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_incref()}{lo\_bundle\_incref()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaef50603d58b7d9b9dfe77fabb426a528} 
void lo\+\_\+bundle\+\_\+incref (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Add one to a bundle\textquotesingle{}s reference count. 

Bundles are reference counted. If a bundle is multiply referenced, the bundle\textquotesingle{}s counter should be incremented. It is automatically decremented by lo\+\_\+bundle\+\_\+free lo\+\_\+bundle\+\_\+free\+\_\+recursive, with lo\+\_\+bundle\+\_\+free\+\_\+recursive being the preferable method. \Hypertarget{group__liblolowlevel_gaa105f1c5b97a16beabdb6b4ab7af2b46}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_length@{lo\_bundle\_length}}
\index{lo\_bundle\_length@{lo\_bundle\_length}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_length()}{lo\_bundle\_length()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaa105f1c5b97a16beabdb6b4ab7af2b46} 
size\+\_\+t lo\+\_\+bundle\+\_\+length (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Return the length of a bundle in bytes. 

Includes the marker and typetag length.


\begin{DoxyParams}{Parameters}
{\em b} & The bundle to be sized \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga330a4a4e6227b185b3ec6219ff3e2859}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_new@{lo\_bundle\_new}}
\index{lo\_bundle\_new@{lo\_bundle\_new}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_new()}{lo\_bundle\_new()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga330a4a4e6227b185b3ec6219ff3e2859} 
\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}} lo\+\_\+bundle\+\_\+new (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}}}]{tt}{}\end{DoxyParamCaption})}



Create a new bundle object. 

OSC Bundles encapsulate one or more OSC messages and may include a timestamp indicating when the bundle should be dispatched.


\begin{DoxyParams}{Parameters}
{\em tt} & The timestamp when the bundle should be handled by the receiver. Pass LO\+\_\+\+TT\+\_\+\+IMMEDIATE if you want the receiving server to dispatch the bundle as soon as it receives it. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gaf7cde3ae75465870e7680087f46534b5}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_serialise@{lo\_bundle\_serialise}}
\index{lo\_bundle\_serialise@{lo\_bundle\_serialise}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_serialise()}{lo\_bundle\_serialise()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaf7cde3ae75465870e7680087f46534b5} 
void \texorpdfstring{$\ast$}{*} lo\+\_\+bundle\+\_\+serialise (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{to}{, }\item[{size\+\_\+t \texorpdfstring{$\ast$}{*}}]{size}{}\end{DoxyParamCaption})}



Serialise the bundle object to an area of memory and return a pointer to the serialised form. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle to be serialised \\
\hline
{\em to} & The address to serialise to, memory will be allocated if to is NULL. \\
\hline
{\em size} & If this pointer is non-\/\+NULL the size of the memory area will be written here\\
\hline
\end{DoxyParams}
The returned form is suitable to be sent over a low level OSC transport, having the correct endianess and bit-\/packed structure. \Hypertarget{group__liblolowlevel_ga4715767a3c64ebf877c2073b33ee93c8}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_bundle\_set\_timestamp@{lo\_bundle\_set\_timestamp}}
\index{lo\_bundle\_set\_timestamp@{lo\_bundle\_set\_timestamp}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_bundle\_set\_timestamp()}{lo\_bundle\_set\_timestamp()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga4715767a3c64ebf877c2073b33ee93c8} 
void lo\+\_\+bundle\+\_\+set\+\_\+timestamp (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{, }\item[{\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}}}]{t}{}\end{DoxyParamCaption})}



Get the timestamp associated with a bundle. 


\begin{DoxyParams}{Parameters}
{\em b} & The bundle for which the timestamp should be returned. \\
\hline
{\em t} & The timestamp to write. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gaf85d7a54ab80e1b2a3d17c4cfef38402}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_coerce@{lo\_coerce}}
\index{lo\_coerce@{lo\_coerce}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_coerce()}{lo\_coerce()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaf85d7a54ab80e1b2a3d17c4cfef38402} 
int lo\+\_\+coerce (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{type\+\_\+to}{, }\item[{\doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}}]{to}{, }\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{type\+\_\+from}{, }\item[{\doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}}]{from}{}\end{DoxyParamCaption})}



Attempt to convert one OSC type to another. 

Numerical types (eg LO\+\_\+\+INT32, LO\+\_\+\+FLOAT etc.) may be converted to other numerical types and string types (LO\+\_\+\+STRING and LO\+\_\+\+SYMBOL) may be converted to the other type. This is done automatically if a received message matches the path, but not the exact types, and is coercible (ie. all numerical types in numerical positions).

On failure no translation occurs and false is returned.


\begin{DoxyParams}{Parameters}
{\em type\+\_\+to} & The type of the destination variable. \\
\hline
{\em to} & A pointer to the destination variable. \\
\hline
{\em type\+\_\+from} & The type of the source variable. \\
\hline
{\em from} & A pointer to the source variable. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gad13890bdbfe090541443fd39e0a68a58}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_get\_path@{lo\_get\_path}}
\index{lo\_get\_path@{lo\_get\_path}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_get\_path()}{lo\_get\_path()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad13890bdbfe090541443fd39e0a68a58} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+get\+\_\+path (\begin{DoxyParamCaption}\item[{void \texorpdfstring{$\ast$}{*}}]{data}{, }\item[{ssize\+\_\+t}]{size}{}\end{DoxyParamCaption})}



Given a raw OSC message, return the message path. 


\begin{DoxyParams}{Parameters}
{\em data} & A pointer to the raw OSC message data. \\
\hline
{\em size} & The size of data in bytes (total buffer bytes).\\
\hline
\end{DoxyParams}
Returns the message path or NULL if an error occurs. Do not free() the returned pointer. \Hypertarget{group__liblolowlevel_gafb7036664581480c9f2e898e57704c1b}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_hires\_val@{lo\_hires\_val}}
\index{lo\_hires\_val@{lo\_hires\_val}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_hires\_val()}{lo\_hires\_val()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gafb7036664581480c9f2e898e57704c1b} 
\doxymbox{\hyperlink{group__liblolowlevel_ga0062385786b0375d4b6954ba1fb8d52b}{lo\+\_\+hires}} lo\+\_\+hires\+\_\+val (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{type}{, }\item[{\doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}}]{p}{}\end{DoxyParamCaption})}



Return the numerical value of the given argument with the maximum native system precision. 

\Hypertarget{group__liblolowlevel_gace222e42c35d0256f115e00b84e8f853}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_is\_numerical\_type@{lo\_is\_numerical\_type}}
\index{lo\_is\_numerical\_type@{lo\_is\_numerical\_type}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_is\_numerical\_type()}{lo\_is\_numerical\_type()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gace222e42c35d0256f115e00b84e8f853} 
int lo\+\_\+is\+\_\+numerical\+\_\+type (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{a}{}\end{DoxyParamCaption})}



Return true if the type specified has a numerical value, such as LO\+\_\+\+INT32, LO\+\_\+\+FLOAT etc. 


\begin{DoxyParams}{Parameters}
{\em a} & The type to be tested. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_gaeb9f59d9f7bf8d50f21809e44889eee7}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_is\_string\_type@{lo\_is\_string\_type}}
\index{lo\_is\_string\_type@{lo\_is\_string\_type}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_is\_string\_type()}{lo\_is\_string\_type()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaeb9f59d9f7bf8d50f21809e44889eee7} 
int lo\+\_\+is\+\_\+string\+\_\+type (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__liblo_ga11838c576b0197c255ce805fd7434736}{lo\+\_\+type}}}]{a}{}\end{DoxyParamCaption})}



Return true if the type specified has a textual value, such as LO\+\_\+\+STRING or LO\+\_\+\+SYMBOL. 


\begin{DoxyParams}{Parameters}
{\em a} & The type to be tested. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga4e7a6d91a06e795ded9676d089abea24}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add@{lo\_message\_add}}
\index{lo\_message\_add@{lo\_message\_add}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add()}{lo\_message\_add()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga4e7a6d91a06e795ded9676d089abea24} 
int lo\+\_\+message\+\_\+add (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{types}{, }\item[{}]{...}{}\end{DoxyParamCaption})}



Append a number of arguments to a message. 

The data will be added in OSC byteorder (bigendian).


\begin{DoxyParams}{Parameters}
{\em m} & The message to be extended. \\
\hline
{\em types} & The types of the data items in the message, types are defined in lo\+\_\+types\+\_\+common.\+h \\
\hline
{\em ...} & The data values to be transmitted. The types of the arguments passed here must agree with the types specified in the type parameter.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gac0ae2fc81d2a48fe63b0803637997fd4}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_blob@{lo\_message\_add\_blob}}
\index{lo\_message\_add\_blob@{lo\_message\_add\_blob}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_blob()}{lo\_message\_add\_blob()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gac0ae2fc81d2a48fe63b0803637997fd4} 
int lo\+\_\+message\+\_\+add\+\_\+blob (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a8f2b43f1b0709fab80bedc5a63f277f2}{lo\+\_\+blob}}}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gab2423db077dea59c4049103819d2810b}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_char@{lo\_message\_add\_char}}
\index{lo\_message\_add\_char@{lo\_message\_add\_char}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_char()}{lo\_message\_add\_char()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gab2423db077dea59c4049103819d2810b} 
int lo\+\_\+message\+\_\+add\+\_\+char (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{char}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gadd3a8441ad5a749c43694e77594cf47b}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_double@{lo\_message\_add\_double}}
\index{lo\_message\_add\_double@{lo\_message\_add\_double}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_double()}{lo\_message\_add\_double()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gadd3a8441ad5a749c43694e77594cf47b} 
int lo\+\_\+message\+\_\+add\+\_\+double (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{double}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga1c8a136e87e3d2befeb466e0a8a5a4ad}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_false@{lo\_message\_add\_false}}
\index{lo\_message\_add\_false@{lo\_message\_add\_false}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_false()}{lo\_message\_add\_false()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga1c8a136e87e3d2befeb466e0a8a5a4ad} 
int lo\+\_\+message\+\_\+add\+\_\+false (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga42815097ea691fd1ec0798beca7f8e5e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_float@{lo\_message\_add\_float}}
\index{lo\_message\_add\_float@{lo\_message\_add\_float}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_float()}{lo\_message\_add\_float()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga42815097ea691fd1ec0798beca7f8e5e} 
int lo\+\_\+message\+\_\+add\+\_\+float (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{float}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga4cbd7d3834a67446b15f53acf316a72a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_infinitum@{lo\_message\_add\_infinitum}}
\index{lo\_message\_add\_infinitum@{lo\_message\_add\_infinitum}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_infinitum()}{lo\_message\_add\_infinitum()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga4cbd7d3834a67446b15f53acf316a72a} 
int lo\+\_\+message\+\_\+add\+\_\+infinitum (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_int32@{lo\_message\_add\_int32}}
\index{lo\_message\_add\_int32@{lo\_message\_add\_int32}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_int32()}{lo\_message\_add\_int32()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149} 
int lo\+\_\+message\+\_\+add\+\_\+int32 (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{int32\+\_\+t}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. 

The data will be added in OSC byteorder (bigendian).


\begin{DoxyParams}{Parameters}
{\em m} & The message to be extended. \\
\hline
{\em a} & The data item.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga282ef81387abab0ce18f7479a4a817b5}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_int64@{lo\_message\_add\_int64}}
\index{lo\_message\_add\_int64@{lo\_message\_add\_int64}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_int64()}{lo\_message\_add\_int64()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga282ef81387abab0ce18f7479a4a817b5} 
int lo\+\_\+message\+\_\+add\+\_\+int64 (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{int64\+\_\+t}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gaaea6ac25787de608199a988dc214f32e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_midi@{lo\_message\_add\_midi}}
\index{lo\_message\_add\_midi@{lo\_message\_add\_midi}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_midi()}{lo\_message\_add\_midi()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaaea6ac25787de608199a988dc214f32e} 
int lo\+\_\+message\+\_\+add\+\_\+midi (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{uint8\+\_\+t}]{a}{\+[4]\+}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gabd3cd7f86137ae1a180e33c3bc5c9644}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_nil@{lo\_message\_add\_nil}}
\index{lo\_message\_add\_nil@{lo\_message\_add\_nil}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_nil()}{lo\_message\_add\_nil()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gabd3cd7f86137ae1a180e33c3bc5c9644} 
int lo\+\_\+message\+\_\+add\+\_\+nil (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga4ff414b1b3d87454668dfd728b830888}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_string@{lo\_message\_add\_string}}
\index{lo\_message\_add\_string@{lo\_message\_add\_string}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_string()}{lo\_message\_add\_string()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga4ff414b1b3d87454668dfd728b830888} 
int lo\+\_\+message\+\_\+add\+\_\+string (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga90e4dab46ecaabab4e34214429d622a7}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_symbol@{lo\_message\_add\_symbol}}
\index{lo\_message\_add\_symbol@{lo\_message\_add\_symbol}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_symbol()}{lo\_message\_add\_symbol()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga90e4dab46ecaabab4e34214429d622a7} 
int lo\+\_\+message\+\_\+add\+\_\+symbol (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga03f8eafa4ba598c545f30e17b23d1c89}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_timetag@{lo\_message\_add\_timetag}}
\index{lo\_message\_add\_timetag@{lo\_message\_add\_timetag}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_timetag()}{lo\_message\_add\_timetag()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga03f8eafa4ba598c545f30e17b23d1c89} 
int lo\+\_\+message\+\_\+add\+\_\+timetag (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}}}]{a}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga9da3df4838126910171a8e45ea34e9ec}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_true@{lo\_message\_add\_true}}
\index{lo\_message\_add\_true@{lo\_message\_add\_true}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_true()}{lo\_message\_add\_true()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9da3df4838126910171a8e45ea34e9ec} 
int lo\+\_\+message\+\_\+add\+\_\+true (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Append a data item and typechar of the specified type to a message. See \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32()} for details. 

\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga9cd98b0c6ad5468692fd0b1936bd093f}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_add\_varargs@{lo\_message\_add\_varargs}}
\index{lo\_message\_add\_varargs@{lo\_message\_add\_varargs}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_add\_varargs()}{lo\_message\_add\_varargs()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9cd98b0c6ad5468692fd0b1936bd093f} 
int lo\+\_\+message\+\_\+add\+\_\+varargs (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{types}{, }\item[{va\+\_\+list}]{ap}{}\end{DoxyParamCaption})}



Append a varargs list to a message. 

The data will be added in OSC byteorder (bigendian). IMPORTANT:\+ args list must be terminated with LO\+\_\+\+ARGS\+\_\+\+END, or this call will fail. This is used to do simple error checking on the sizes of parameters passed.


\begin{DoxyParams}{Parameters}
{\em m} & The message to be extended. \\
\hline
{\em types} & The types of the data items in the message, types are defined in lo\+\_\+types\+\_\+common.\+h \\
\hline
{\em ap} & The va\+\_\+list created by a C function declared with an ellipsis (...) argument, and pre-\/initialised with "{}va\+\_\+start(ap)"{}. The types of the arguments passed here must agree with the types specified in the type parameter.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Less than 0 on failure, 0 on success. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gaca98bc3a7fe229c53090d0b36318fe43}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_clear@{lo\_message\_clear}}
\index{lo\_message\_clear@{lo\_message\_clear}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_clear()}{lo\_message\_clear()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaca98bc3a7fe229c53090d0b36318fe43} 
void lo\+\_\+message\+\_\+clear (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Clear elements from a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} but do not free allocated memory. 

\Hypertarget{group__liblolowlevel_ga8cf4889aa1b479e3b6eaf8847c3b9e4f}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_clone@{lo\_message\_clone}}
\index{lo\_message\_clone@{lo\_message\_clone}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_clone()}{lo\_message\_clone()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga8cf4889aa1b479e3b6eaf8847c3b9e4f} 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} lo\+\_\+message\+\_\+clone (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Create a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object by cloning an already existing one. 

\Hypertarget{group__liblolowlevel_ga3739a35c832a4d28da8d08ce86336f42}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_decref@{lo\_message\_decref}}
\index{lo\_message\_decref@{lo\_message\_decref}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_decref()}{lo\_message\_decref()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga3739a35c832a4d28da8d08ce86336f42} 
int lo\+\_\+message\+\_\+decref (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Subtract one from a message\textquotesingle{}s reference count. 

Messages are reference counted. In general decrementing the counter should be handled automatically using {\ttfamily \doxylink{group__liblolowlevel_ga93d3687e77ae20167b82830c917a3e50}{lo\+\_\+message\+\_\+free}} or {\ttfamily \doxylink{group__liblolowlevel_ga8ec7b8729ab98094619285ebe11f0d00}{lo\+\_\+bundle\+\_\+free\+\_\+recursive}}, however if necessary the counter can be decremented manually. \Hypertarget{group__liblolowlevel_ga2f4644b2a1aae0d0eee456fe93ac158e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_deserialise@{lo\_message\_deserialise}}
\index{lo\_message\_deserialise@{lo\_message\_deserialise}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_deserialise()}{lo\_message\_deserialise()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2f4644b2a1aae0d0eee456fe93ac158e} 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} lo\+\_\+message\+\_\+deserialise (\begin{DoxyParamCaption}\item[{void \texorpdfstring{$\ast$}{*}}]{data}{, }\item[{size\+\_\+t}]{size}{, }\item[{int \texorpdfstring{$\ast$}{*}}]{result}{}\end{DoxyParamCaption})}



Deserialise a raw OSC message and return a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object. Opposite of \doxylink{group__liblolowlevel_ga0319fda67dba973cbda0c0614cd2e572}{lo\+\_\+message\+\_\+serialise()}. 


\begin{DoxyParams}{Parameters}
{\em data} & Pointer to the raw OSC message data in network transmission form (network byte order where appropriate). \\
\hline
{\em size} & The size of data in bytes \\
\hline
{\em result} & If this pointer is non-\/\+NULL, the result or error code will be written here.\\
\hline
\end{DoxyParams}
Returns a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}, or NULL if deserialisation fails. Use \doxylink{group__liblolowlevel_ga93d3687e77ae20167b82830c917a3e50}{lo\+\_\+message\+\_\+free()} to free the resulting object. \Hypertarget{group__liblolowlevel_ga93d3687e77ae20167b82830c917a3e50}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_free@{lo\_message\_free}}
\index{lo\_message\_free@{lo\_message\_free}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_free()}{lo\_message\_free()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga93d3687e77ae20167b82830c917a3e50} 
void lo\+\_\+message\+\_\+free (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Free memory allocated by \doxylink{group__liblolowlevel_ga1e938ecc9160a194424423b400019410}{lo\+\_\+message\+\_\+new()} and any subsequent \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\+\_\+int32} lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}() calls. 

\Hypertarget{group__liblolowlevel_ga5b391362eda2c6019011f3db55049db3}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_get\_argc@{lo\_message\_get\_argc}}
\index{lo\_message\_get\_argc@{lo\_message\_get\_argc}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_get\_argc()}{lo\_message\_get\_argc()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga5b391362eda2c6019011f3db55049db3} 
int lo\+\_\+message\+\_\+get\+\_\+argc (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Return the message argument count. 

The result is valid until further data is added with lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}(). \Hypertarget{group__liblolowlevel_ga61c0a4447539d52b95a0aa11af420067}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_get\_argv@{lo\_message\_get\_argv}}
\index{lo\_message\_get\_argv@{lo\_message\_get\_argv}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_get\_argv()}{lo\_message\_get\_argv()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga61c0a4447539d52b95a0aa11af420067} 
\doxymbox{\hyperlink{unionlo__arg}{lo\+\_\+arg}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*} lo\+\_\+message\+\_\+get\+\_\+argv (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Return the message arguments. Do not free the returned data. 

The result is valid until further data is added with lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}(). \Hypertarget{group__liblolowlevel_ga1f4e07e4f8b67edc98f4b300412a3dbb}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_get\_source@{lo\_message\_get\_source}}
\index{lo\_message\_get\_source@{lo\_message\_get\_source}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_get\_source()}{lo\_message\_get\_source()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga1f4e07e4f8b67edc98f4b300412a3dbb} 
\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}} lo\+\_\+message\+\_\+get\+\_\+source (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Returns the source (\doxylink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}) of an incoming message. 

Returns NULL if the message is outgoing. Do not free the returned address. This is usually called on the \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} passed to \doxylink{lo__types_8h_a5b38e0822e47acaa3c7267348f50f66c}{lo\+\_\+method\+\_\+handler}, to set up bidirectional communication. See \doxylink{example__tcp__echo__server_8c_source}{example\+\_\+tcp\+\_\+echo\+\_\+server.\+c} for an example of this. \Hypertarget{group__liblolowlevel_ga164e068064afa94454eb6515b9b1748d}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_get\_timestamp@{lo\_message\_get\_timestamp}}
\index{lo\_message\_get\_timestamp@{lo\_message\_get\_timestamp}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_get\_timestamp()}{lo\_message\_get\_timestamp()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga164e068064afa94454eb6515b9b1748d} 
\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} lo\+\_\+message\+\_\+get\+\_\+timestamp (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Returns the timestamp (\doxylink{structlo__timetag}{lo\+\_\+timetag} \texorpdfstring{$\ast$}{*}) of a bundled incoming message. 

Returns LO\+\_\+\+TT\+\_\+\+IMMEDIATE if the message is outgoing, or did not arrive contained in a bundle. Do not free the returned timetag. \Hypertarget{group__liblolowlevel_ga28e65c9e17a6762f12ff1198bc8c973d}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_get\_types@{lo\_message\_get\_types}}
\index{lo\_message\_get\_types@{lo\_message\_get\_types}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_get\_types()}{lo\_message\_get\_types()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga28e65c9e17a6762f12ff1198bc8c973d} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+message\+\_\+get\+\_\+types (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Return the message type tag string. 

The result is valid until further data is added with lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}(). \Hypertarget{group__liblolowlevel_gae4007dd073375b8448a0c8efcb39da52}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_incref@{lo\_message\_incref}}
\index{lo\_message\_incref@{lo\_message\_incref}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_incref()}{lo\_message\_incref()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gae4007dd073375b8448a0c8efcb39da52} 
void lo\+\_\+message\+\_\+incref (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{}\end{DoxyParamCaption})}



Add one to a message\textquotesingle{}s reference count. 

Messages are reference counted. If a message is multiply referenced, the message\textquotesingle{}s counter should be incremented. It is automatically decremented by {\ttfamily \doxylink{group__liblolowlevel_ga93d3687e77ae20167b82830c917a3e50}{lo\+\_\+message\+\_\+free}} or {\ttfamily \doxylink{group__liblolowlevel_ga8ec7b8729ab98094619285ebe11f0d00}{lo\+\_\+bundle\+\_\+free\+\_\+recursive}}, with {\ttfamily \doxylink{group__liblolowlevel_ga8ec7b8729ab98094619285ebe11f0d00}{lo\+\_\+bundle\+\_\+free\+\_\+recursive}} being the preferable method if bundles are used. \Hypertarget{group__liblolowlevel_ga0855039d071b7031727213272857c27e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_length@{lo\_message\_length}}
\index{lo\_message\_length@{lo\_message\_length}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_length()}{lo\_message\_length()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga0855039d071b7031727213272857c27e} 
size\+\_\+t lo\+\_\+message\+\_\+length (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{}\end{DoxyParamCaption})}



Return the length of a message in bytes. 


\begin{DoxyParams}{Parameters}
{\em m} & The message to be sized \\
\hline
{\em path} & The path the message will be sent to \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga1e938ecc9160a194424423b400019410}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_new@{lo\_message\_new}}
\index{lo\_message\_new@{lo\_message\_new}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_new()}{lo\_message\_new()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga1e938ecc9160a194424423b400019410} 
\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}} lo\+\_\+message\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{}{}\end{DoxyParamCaption})}



Create a new \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object. 

\Hypertarget{group__liblolowlevel_ga0319fda67dba973cbda0c0614cd2e572}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_message\_serialise@{lo\_message\_serialise}}
\index{lo\_message\_serialise@{lo\_message\_serialise}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_message\_serialise()}{lo\_message\_serialise()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga0319fda67dba973cbda0c0614cd2e572} 
void \texorpdfstring{$\ast$}{*} lo\+\_\+message\+\_\+serialise (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{m}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{to}{, }\item[{size\+\_\+t \texorpdfstring{$\ast$}{*}}]{size}{}\end{DoxyParamCaption})}



Serialise the \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object to an area of memory and return a pointer to the serialised form. Opposite of \doxylink{group__liblolowlevel_ga2f4644b2a1aae0d0eee456fe93ac158e}{lo\+\_\+message\+\_\+deserialise()}. 


\begin{DoxyParams}{Parameters}
{\em m} & The message to be serialised \\
\hline
{\em path} & The path the message will be sent to \\
\hline
{\em to} & The address to serialise to, memory will be allocated if to is NULL. \\
\hline
{\em size} & If this pointer is non-\/\+NULL the size of the memory area will be written here\\
\hline
\end{DoxyParams}
The returned form is suitable to be sent over a low level OSC transport, having the correct endianess and bit-\/packed structure. \Hypertarget{group__liblolowlevel_gac26f3d15dbd23f34d4f9e4f6f0b81bbb}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_pattern\_match@{lo\_pattern\_match}}
\index{lo\_pattern\_match@{lo\_pattern\_match}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_pattern\_match()}{lo\_pattern\_match()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gac26f3d15dbd23f34d4f9e4f6f0b81bbb} 
int lo\+\_\+pattern\+\_\+match (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{str}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{p}{}\end{DoxyParamCaption})}



Test a string against an OSC pattern glob. 


\begin{DoxyParams}{Parameters}
{\em str} & The string to test \\
\hline
{\em p} & The pattern to test against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
1 if true, 0 otherwise. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gad1138d0f777693ae0321e3da65aee53e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_send\_bundle@{lo\_send\_bundle}}
\index{lo\_send\_bundle@{lo\_send\_bundle}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_send\_bundle()}{lo\_send\_bundle()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad1138d0f777693ae0321e3da65aee53e} 
int lo\+\_\+send\+\_\+bundle (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{targ}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Send a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} object to address targ. 

Bundles are constructed with the \doxylink{group__liblolowlevel_ga330a4a4e6227b185b3ec6219ff3e2859}{lo\+\_\+bundle\+\_\+new()} and \doxylink{group__liblolowlevel_ga1cc5e2eb20ce567a694f343764e25bb7}{lo\+\_\+bundle\+\_\+add\+\_\+message()} functions. \Hypertarget{group__liblolowlevel_gab5de220b7d6d7c2bf6b0ca4316a54b7a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_send\_bundle\_from@{lo\_send\_bundle\_from}}
\index{lo\_send\_bundle\_from@{lo\_send\_bundle\_from}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_send\_bundle\_from()}{lo\_send\_bundle\_from()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gab5de220b7d6d7c2bf6b0ca4316a54b7a} 
int lo\+\_\+send\+\_\+bundle\+\_\+from (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{targ}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{serv}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle}}}]{b}{}\end{DoxyParamCaption})}



Send a \doxylink{lo__types_8h_ae30a81e4a90d9e6809e72afdf2ae768f}{lo\+\_\+bundle} object to address targ from address of serv. 

Bundles are constructed with the \doxylink{group__liblolowlevel_ga330a4a4e6227b185b3ec6219ff3e2859}{lo\+\_\+bundle\+\_\+new()} and \doxylink{group__liblolowlevel_ga1cc5e2eb20ce567a694f343764e25bb7}{lo\+\_\+bundle\+\_\+add\+\_\+message()} functions.


\begin{DoxyParams}{Parameters}
{\em targ} & The address to send the bundle to \\
\hline
{\em serv} & The server socket to send the bundle from (can be NULL to use new socket) \\
\hline
{\em b} & The bundle itself \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga175a13c6d81adf5c346cdca9bbdcf225}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_send\_message@{lo\_send\_message}}
\index{lo\_send\_message@{lo\_send\_message}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_send\_message()}{lo\_send\_message()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga175a13c6d81adf5c346cdca9bbdcf225} 
int lo\+\_\+send\+\_\+message (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{targ}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{msg}{}\end{DoxyParamCaption})}



Send a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object to target targ. 

This is slightly more efficient than \doxylink{group__liblo_gafa4253874f97c2c16254ac57d2b7c987}{lo\+\_\+send()} if you want to send a lot of similar messages. The messages are constructed with the \doxylink{group__liblolowlevel_ga1e938ecc9160a194424423b400019410}{lo\+\_\+message\+\_\+new()} and \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}()} functions. \Hypertarget{group__liblolowlevel_ga9d1aa7c1ee1ce60fe0cf7e3f1e5a6822}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_send\_message\_from@{lo\_send\_message\_from}}
\index{lo\_send\_message\_from@{lo\_send\_message\_from}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_send\_message\_from()}{lo\_send\_message\_from()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9d1aa7c1ee1ce60fe0cf7e3f1e5a6822} 
int lo\+\_\+send\+\_\+message\+\_\+from (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a463f77a169c38213c73c9622821dcd0d}{lo\+\_\+address}}}]{targ}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{serv}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message}}}]{msg}{}\end{DoxyParamCaption})}



Send a \doxylink{lo__types_8h_a50be181dde1a8d313dbc7e48d4032210}{lo\+\_\+message} object to target targ from address of serv. 

This is slightly more efficient than \doxylink{group__liblo_gafa4253874f97c2c16254ac57d2b7c987}{lo\+\_\+send()} if you want to send a lot of similar messages. The messages are constructed with the \doxylink{group__liblolowlevel_ga1e938ecc9160a194424423b400019410}{lo\+\_\+message\+\_\+new()} and \doxylink{group__liblolowlevel_ga7c9df1bd975a32fb6c8105e6fe327149}{lo\+\_\+message\+\_\+add\texorpdfstring{$\ast$}{*}()} functions.


\begin{DoxyParams}{Parameters}
{\em targ} & The address to send the message to \\
\hline
{\em serv} & The server socket to send the message from (can be NULL to use new socket) \\
\hline
{\em path} & The path to send the message to \\
\hline
{\em msg} & The bundle itself \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga1411fdb0c8037a4dd3ab19af35df50ac}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_add\_bundle\_handlers@{lo\_server\_add\_bundle\_handlers}}
\index{lo\_server\_add\_bundle\_handlers@{lo\_server\_add\_bundle\_handlers}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_add\_bundle\_handlers()}{lo\_server\_add\_bundle\_handlers()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga1411fdb0c8037a4dd3ab19af35df50ac} 
int lo\+\_\+server\+\_\+add\+\_\+bundle\+\_\+handlers (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a056b3149631bb154049fa12101838b35}{lo\+\_\+bundle\+\_\+start\+\_\+handler}}}]{sh}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_ad5445ab4f0e562d715162d2ab7bbe85f}{lo\+\_\+bundle\+\_\+end\+\_\+handler}}}]{eh}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{user\+\_\+data}{}\end{DoxyParamCaption})}



Add bundle notification handlers to the specified server. 


\begin{DoxyParams}{Parameters}
{\em s} & The server the method is to be added to. \\
\hline
{\em sh} & The callback function that will be called before the messages of a bundle are dispatched \\
\hline
{\em eh} & The callback function that will be called after the messages of a bundle are dispatched \\
\hline
{\em user\+\_\+data} & A value that will be passed to the user\+\_\+data parameter of both callback functions. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga56c5f1d587c215c27e92e6436e12b1a3}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_add\_method@{lo\_server\_add\_method}}
\index{lo\_server\_add\_method@{lo\_server\_add\_method}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_add\_method()}{lo\_server\_add\_method()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga56c5f1d587c215c27e92e6436e12b1a3} 
\doxymbox{\hyperlink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\+\_\+method}} lo\+\_\+server\+\_\+add\+\_\+method (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{typespec}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_a5b38e0822e47acaa3c7267348f50f66c}{lo\+\_\+method\+\_\+handler}}}]{h}{, }\item[{const void \texorpdfstring{$\ast$}{*}}]{user\+\_\+data}{}\end{DoxyParamCaption})}



Add an OSC method to the specifed server. 


\begin{DoxyParams}{Parameters}
{\em s} & The server the method is to be added to. \\
\hline
{\em path} & The OSC path to register the method to. If NULL is passed the method will match all paths. \\
\hline
{\em typespec} & The typespec the method accepts. Incoming messages with similar typespecs (e.\+g. ones with numerical types in the same position) will be coerced to the typespec given here. \\
\hline
{\em h} & The method handler callback function that will be called if a matching message is received \\
\hline
{\em user\+\_\+data} & A value that will be passed to the callback function, h, when its invoked matching from this method. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A unique pointer identifying the method. It should not be freed. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gabbeecd7e7f337906e13654b7f35253fd}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_del\_lo\_method@{lo\_server\_del\_lo\_method}}
\index{lo\_server\_del\_lo\_method@{lo\_server\_del\_lo\_method}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_del\_lo\_method()}{lo\_server\_del\_lo\_method()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gabbeecd7e7f337906e13654b7f35253fd} 
int lo\+\_\+server\+\_\+del\+\_\+lo\+\_\+method (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\+\_\+method}}}]{m}{}\end{DoxyParamCaption})}



Delete a specific OSC method from the specified server. 


\begin{DoxyParams}{Parameters}
{\em s} & The server the method is to be removed from. \\
\hline
{\em m} & The \doxylink{lo__types_8h_af7b2be2fe593905cfaa9149efff4cc28}{lo\+\_\+method} identifier returned from lo\+\_\+server\+\_\+add\+\_\+method for the method to delete from the server. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Non-\/zero if it was not found in the list of methods for the server. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gaf834a6d62de7dcceaede62325e74c763}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_del\_method@{lo\_server\_del\_method}}
\index{lo\_server\_del\_method@{lo\_server\_del\_method}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_del\_method()}{lo\_server\_del\_method()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaf834a6d62de7dcceaede62325e74c763} 
void lo\+\_\+server\+\_\+del\+\_\+method (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{path}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{typespec}{}\end{DoxyParamCaption})}



Delete an OSC method from the specified server. 


\begin{DoxyParams}{Parameters}
{\em s} & The server the method is to be removed from. \\
\hline
{\em path} & The OSC path of the method to delete. If NULL is passed the method will match the generic handler. \\
\hline
{\em typespec} & The typespec the method accepts. \\
\hline
\end{DoxyParams}
\Hypertarget{group__liblolowlevel_ga9e96445401c94c3751de27f8db1a0b50}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_dispatch\_data@{lo\_server\_dispatch\_data}}
\index{lo\_server\_dispatch\_data@{lo\_server\_dispatch\_data}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_dispatch\_data()}{lo\_server\_dispatch\_data()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9e96445401c94c3751de27f8db1a0b50} 
int lo\+\_\+server\+\_\+dispatch\+\_\+data (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{data}{, }\item[{size\+\_\+t}]{size}{}\end{DoxyParamCaption})}



Dispatch a raw block of memory containing an OSC message. 

This is useful when a raw block of memory is available that is structured as OSC, and you wish to use liblo to dispatch the message to a handler function as if it had been received over the network.


\begin{DoxyParams}{Parameters}
{\em s} & The \doxylink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server} to use for dispatching. \\
\hline
{\em data} & Pointer to the raw OSC message data in network transmission form (network byte order where appropriate). \\
\hline
{\em size} & The size of data in bytes\\
\hline
\end{DoxyParams}
Returns the number of bytes used if successful, or less than 0 otherwise. \Hypertarget{group__liblolowlevel_ga175ef81fc2d695895967bfc30a495b2a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_enable\_coercion@{lo\_server\_enable\_coercion}}
\index{lo\_server\_enable\_coercion@{lo\_server\_enable\_coercion}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_enable\_coercion()}{lo\_server\_enable\_coercion()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga175ef81fc2d695895967bfc30a495b2a} 
int lo\+\_\+server\+\_\+enable\+\_\+coercion (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{server}{, }\item[{int}]{enable}{}\end{DoxyParamCaption})}



Enables or disables type coercion during message dispatch. 


\begin{DoxyParams}{Parameters}
{\em server} & The server to toggle this option for. \\
\hline
{\em enable} & Non-\/zero to enable, or zero to disable type coercion. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previous value of this option. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga3e23b9b6027042e136f344d001431ac6}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_enable\_queue@{lo\_server\_enable\_queue}}
\index{lo\_server\_enable\_queue@{lo\_server\_enable\_queue}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_enable\_queue()}{lo\_server\_enable\_queue()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga3e23b9b6027042e136f344d001431ac6} 
int lo\+\_\+server\+\_\+enable\+\_\+queue (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{int}]{queue\+\_\+enabled}{, }\item[{int}]{dispatch\+\_\+remaining}{}\end{DoxyParamCaption})}



Toggle event queue. If queueing is enabled, timetagged messages that are sent in advance of the current time will be put on an internal queue, and they will be dispatched at the indicated time. By default, queueing is enabled. Use this function to disable it, if it is desired to have a server process messages immediately. In that case, use \doxylink{group__liblolowlevel_ga164e068064afa94454eb6515b9b1748d}{lo\+\_\+message\+\_\+get\+\_\+timestamp()} to get the message timestamp from within a method handler. 


\begin{DoxyParams}{Parameters}
{\em s} & A liblo server \\
\hline
{\em queue\+\_\+enabled} & Zero to disable queue, non-\/zero to enable. \\
\hline
{\em dispatch\+\_\+remaining} & If non-\/zero, previously queued messages will be immediately dispatched when queue is disabled. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previous state of queue behaviour. Zero if queueing was previously disabled, non-\/zero otherwise. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga04feb1063c3f4df6fec41405b28dd99a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_events\_pending@{lo\_server\_events\_pending}}
\index{lo\_server\_events\_pending@{lo\_server\_events\_pending}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_events\_pending()}{lo\_server\_events\_pending()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga04feb1063c3f4df6fec41405b28dd99a} 
int lo\+\_\+server\+\_\+events\+\_\+pending (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Return true if there are scheduled events (eg. from bundles) waiting to be dispatched by the server. 

\Hypertarget{group__liblolowlevel_gad3dc9193e1eef0d71a4b046242b64216}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_free@{lo\_server\_free}}
\index{lo\_server\_free@{lo\_server\_free}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_free()}{lo\_server\_free()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad3dc9193e1eef0d71a4b046242b64216} 
void lo\+\_\+server\+\_\+free (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Free up memory used by the \doxylink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server} object. 



Referenced by \doxymbox{\hyperlink{lo__cpp_8h_source_l00587}{lo::\+\+Server::\+\texorpdfstring{$\sim$}{\string~}\+Server()}}.

\Hypertarget{group__liblolowlevel_ga532ef6e1b8675b23e65dd19eeb648c1d}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_get\_port@{lo\_server\_get\_port}}
\index{lo\_server\_get\_port@{lo\_server\_get\_port}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_get\_port()}{lo\_server\_get\_port()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga532ef6e1b8675b23e65dd19eeb648c1d} 
int lo\+\_\+server\+\_\+get\+\_\+port (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Return the port number that the server has bound to. 

Useful when NULL is passed for the port number and you wish to know how to address the server. \Hypertarget{group__liblolowlevel_gab40a599fe8440512b18479dac333e89f}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_get\_protocol@{lo\_server\_get\_protocol}}
\index{lo\_server\_get\_protocol@{lo\_server\_get\_protocol}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_get\_protocol()}{lo\_server\_get\_protocol()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gab40a599fe8440512b18479dac333e89f} 
int lo\+\_\+server\+\_\+get\+\_\+protocol (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Return the protocol that the server is using. 

Returned value will be one of LO\+\_\+\+UDP, LO\+\_\+\+TCP or LO\+\_\+\+UNIX. \Hypertarget{group__liblolowlevel_gae11ca5a5b4ec2943d5a04642ba5052ae}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_get\_socket\_fd@{lo\_server\_get\_socket\_fd}}
\index{lo\_server\_get\_socket\_fd@{lo\_server\_get\_socket\_fd}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_get\_socket\_fd()}{lo\_server\_get\_socket\_fd()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gae11ca5a5b4ec2943d5a04642ba5052ae} 
int lo\+\_\+server\+\_\+get\+\_\+socket\+\_\+fd (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Return the file descriptor of the server socket. 

If the server protocol supports exposing the server\textquotesingle{}s underlying receive mechanism for monitoring with select() or poll(), this function returns the file descriptor needed, otherwise, it returns -\/1.

WARNING:\+ when using this function beware that not all OSC packets that are received are dispatched immediately. \doxylink{group__liblolowlevel_ga04feb1063c3f4df6fec41405b28dd99a}{lo\+\_\+server\+\_\+events\+\_\+pending()} and \doxylink{group__liblolowlevel_ga750076fdd75e2a7d3e442f6bd5968fb9}{lo\+\_\+server\+\_\+next\+\_\+event\+\_\+delay()} can be used to tell if there are pending events and how long before you should attempt to receive them. \Hypertarget{group__liblolowlevel_ga18cdac28445b16ff0f7c26c213d8e9eb}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_get\_url@{lo\_server\_get\_url}}
\index{lo\_server\_get\_url@{lo\_server\_get\_url}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_get\_url()}{lo\_server\_get\_url()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga18cdac28445b16ff0f7c26c213d8e9eb} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+server\+\_\+get\+\_\+url (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Return an OSC URL that can be used to contact the server. 

The return value should be free()\textquotesingle{}d when it is no longer needed. \Hypertarget{group__liblolowlevel_ga9474e6c57e59bd99fd92d0fc8cbe3b88}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_max\_msg\_size@{lo\_server\_max\_msg\_size}}
\index{lo\_server\_max\_msg\_size@{lo\_server\_max\_msg\_size}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_max\_msg\_size()}{lo\_server\_max\_msg\_size()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9474e6c57e59bd99fd92d0fc8cbe3b88} 
int lo\+\_\+server\+\_\+max\+\_\+msg\+\_\+size (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{int}]{req\+\_\+size}{}\end{DoxyParamCaption})}



Set the maximum message size accepted by a server. 

For UDP servers, the maximum message size cannot exceed 64k, due to the UDP transport specifications. For TCP servers, this number may be larger, but be aware that one or more contiguous blocks of memory of this size may be allocated by liblo. (At least one per connection.)


\begin{DoxyParams}{Parameters}
{\em s} & The server on which to operate. \\
\hline
{\em req\+\_\+size} & The new maximum message size to request, 0 if it should not be modified, or -\/1 if it should be set to unlimited. Note that an unlimited message buffer may make your application open to a denial of service attack. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new maximum message size is returned, which may or may not be equal to req\+\_\+size. If -\/1 is returned, maximum size is unlimited. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga78cfb23346e44465695293d4393447ae}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_new@{lo\_server\_new}}
\index{lo\_server\_new@{lo\_server\_new}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_new()}{lo\_server\_new()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga78cfb23346e44465695293d4393447ae} 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} lo\+\_\+server\+\_\+new (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{port}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}}}]{err\+\_\+h}{}\end{DoxyParamCaption})}



Create a new server instance. 

Using \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()}, lo\+\_\+servers block until they receive OSC messages. Most likely you want non-\/blocking behaviour, so use of \doxylink{group__liblolowlevel_ga784a257252d05cc0e7210f4691f0661b}{lo\+\_\+server\+\_\+recv\+\_\+noblock()} is encouraged or the \doxylink{lo__serverthread_8h_abe3e0c31189adfd7624de6c507b610ba}{lo\+\_\+server\+\_\+thread\+\_\+new} and "{}lo\+\_\+server\+\_\+thread\+\_\+\texorpdfstring{$\ast$}{*}"{} functions.


\begin{DoxyParams}{Parameters}
{\em port} & If NULL is passed then an unused UDP port will be chosen by the system, its number may be retrieved with \doxylink{lo__serverthread_8h_a22f4b18eeac41490647ab9fe2333f933}{lo\+\_\+server\+\_\+thread\+\_\+get\+\_\+port()} so it can be passed to clients. Otherwise a decimal port number, service name or UNIX domain socket path may be passed. \\
\hline
{\em err\+\_\+h} & An error callback function that will be called if there is an error in messge reception or server creation. Pass NULL if you do not want error handling. \\
\hline
\end{DoxyParams}


Referenced by \doxymbox{\hyperlink{lo__cpp_8h_source_l00510}{lo::\+\+Server::\+\+Server()}}, and \doxymbox{\hyperlink{lo__cpp_8h_source_l00568}{lo::\+\+Server::\+\+Server()}}.

\Hypertarget{group__liblolowlevel_ga0c47a0ffd8f54809a1a14e01fc809483}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_new\_from\_config@{lo\_server\_new\_from\_config}}
\index{lo\_server\_new\_from\_config@{lo\_server\_new\_from\_config}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_new\_from\_config()}{lo\_server\_new\_from\_config()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga0c47a0ffd8f54809a1a14e01fc809483} 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} lo\+\_\+server\+\_\+new\+\_\+from\+\_\+config (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{structlo__server__config}{lo\+\_\+server\+\_\+config}} \texorpdfstring{$\ast$}{*}}]{config}{}\end{DoxyParamCaption})}



Create a new server instance, using a configuration struct. 


\begin{DoxyParams}{Parameters}
{\em config} & A pre-\/initialized config struct. A pointer to it will not be kept. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new \doxylink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server} instance. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga1246a1f4a2ba967d31017452a32daf2a}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_new\_from\_url@{lo\_server\_new\_from\_url}}
\index{lo\_server\_new\_from\_url@{lo\_server\_new\_from\_url}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_new\_from\_url()}{lo\_server\_new\_from\_url()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga1246a1f4a2ba967d31017452a32daf2a} 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} lo\+\_\+server\+\_\+new\+\_\+from\+\_\+url (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{url}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}}}]{err\+\_\+h}{}\end{DoxyParamCaption})}



Create a new server instance, taking port and the optional multicast group IP from an URL string. 


\begin{DoxyParams}{Parameters}
{\em url} & The URL to specify the server parameters. \\
\hline
{\em err\+\_\+h} & An error callback function that will be called if there is an error in messge reception or server creation. Pass NULL if you do not want error handling. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new \doxylink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server} instance. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_ga849f4517a29ad850069cf8f2976a9284}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_new\_multicast@{lo\_server\_new\_multicast}}
\index{lo\_server\_new\_multicast@{lo\_server\_new\_multicast}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_new\_multicast()}{lo\_server\_new\_multicast()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga849f4517a29ad850069cf8f2976a9284} 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} lo\+\_\+server\+\_\+new\+\_\+multicast (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{group}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{port}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}}}]{err\+\_\+h}{}\end{DoxyParamCaption})}



Create a new server instance, and join a UDP multicast group. 


\begin{DoxyParams}{Parameters}
{\em group} & The multicast group to join. See documentation on IP multicast for the acceptable address range; e.\+g., \href{http://tldp.org/HOWTO/Multicast-HOWTO-2.html}{\texttt{http:\+/\+/\+tldp.\+org/\+\+HOWTO/\+\+Multicast-\/\+HOWTO-\/2.\+html}} \\
\hline
{\em port} & If using UDP then NULL may be passed to find an unused port. Otherwise a decimal port number or service name or may be passed. If using UNIX domain sockets then a socket path should be passed here. \\
\hline
{\em err\+\_\+h} & An error callback function that will be called if there is an error in messge reception or server creation. Pass NULL if you do not want error handling. \\
\hline
\end{DoxyParams}


Referenced by \doxymbox{\hyperlink{lo__cpp_8h_source_l00578}{lo::\+\+Server::\+\+Server()}}.

\Hypertarget{group__liblolowlevel_gadec49f210324f499f2e9593df20128cb}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_new\_multicast\_iface@{lo\_server\_new\_multicast\_iface}}
\index{lo\_server\_new\_multicast\_iface@{lo\_server\_new\_multicast\_iface}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_new\_multicast\_iface()}{lo\_server\_new\_multicast\_iface()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gadec49f210324f499f2e9593df20128cb} 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} lo\+\_\+server\+\_\+new\+\_\+multicast\+\_\+iface (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{group}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{port}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{iface}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{ip}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}}}]{err\+\_\+h}{}\end{DoxyParamCaption})}



Create a new server instance, and join a UDP multicast group, optionally specifying which network interface to use. Note that usually only one of iface or ip are specified. 


\begin{DoxyParams}{Parameters}
{\em group} & The multicast group to join. See documentation on IP multicast for the acceptable address range; e.\+g., \href{http://tldp.org/HOWTO/Multicast-HOWTO-2.html}{\texttt{http:\+/\+/\+tldp.\+org/\+\+HOWTO/\+\+Multicast-\/\+HOWTO-\/2.\+html}} \\
\hline
{\em port} & If using UDP then NULL may be passed to find an unused port. Otherwise a decimal port number or service name or may be passed. If using UNIX domain sockets then a socket path should be passed here. \\
\hline
{\em iface} & A string specifying the name of a network interface to use, or zero if not specified. \\
\hline
{\em ip} & A string specifying the IP address of a network interface to use, or zero if not specified. \\
\hline
{\em err\+\_\+h} & An error callback function that will be called if there is an error in messge reception or server creation. Pass NULL if you do not want error handling. \\
\hline
\end{DoxyParams}


Referenced by \doxymbox{\hyperlink{lo__cpp_8h_source_l00578}{lo::\+\+Server::\+\+Server()}}, and \doxymbox{\hyperlink{lo__cpp_8h_source_l00545}{lo::\+\+Server::\+\+Server()}}.

\Hypertarget{group__liblolowlevel_ga4afa474b11ed0d4511857ae79c56aaa1}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_new\_with\_proto@{lo\_server\_new\_with\_proto}}
\index{lo\_server\_new\_with\_proto@{lo\_server\_new\_with\_proto}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_new\_with\_proto()}{lo\_server\_new\_with\_proto()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga4afa474b11ed0d4511857ae79c56aaa1} 
\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} lo\+\_\+server\+\_\+new\+\_\+with\+\_\+proto (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{port}{, }\item[{int}]{proto}{, }\item[{\doxymbox{\hyperlink{lo__types_8h_aa4406d5e90db364c02337656e6c95250}{lo\+\_\+err\+\_\+handler}}}]{err\+\_\+h}{}\end{DoxyParamCaption})}



Create a new server instance, specifying protocol. 

Using \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()}, lo\+\_\+servers block until they receive OSC messages. Most likely you want non-\/blocking behaviour, so use of \doxylink{group__liblolowlevel_ga784a257252d05cc0e7210f4691f0661b}{lo\+\_\+server\+\_\+recv\+\_\+noblock()} is encouraged or the \doxylink{lo__serverthread_8h_abe3e0c31189adfd7624de6c507b610ba}{lo\+\_\+server\+\_\+thread\+\_\+new} and "{}lo\+\_\+server\+\_\+thread\+\_\+\texorpdfstring{$\ast$}{*}"{} functions.


\begin{DoxyParams}{Parameters}
{\em port} & If using UDP then NULL may be passed to find an unused port. Otherwise a decimal port number orservice name or may be passed. If using UNIX domain sockets then a socket path should be passed here. \\
\hline
{\em proto} & The protocol to use, should be one of LO\+\_\+\+UDP, LO\+\_\+\+TCP or LO\+\_\+\+UNIX. \\
\hline
{\em err\+\_\+h} & An error callback function that will be called if there is an error in messge reception or server creation. Pass NULL if you do not want error handling. \\
\hline
\end{DoxyParams}


Referenced by \doxymbox{\hyperlink{lo__cpp_8h_source_l00527}{lo::\+\+Server::\+\+Server()}}, and \doxymbox{\hyperlink{lo__cpp_8h_source_l00572}{lo::\+\+Server::\+\+Server()}}.

\Hypertarget{group__liblolowlevel_ga750076fdd75e2a7d3e442f6bd5968fb9}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_next\_event\_delay@{lo\_server\_next\_event\_delay}}
\index{lo\_server\_next\_event\_delay@{lo\_server\_next\_event\_delay}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_next\_event\_delay()}{lo\_server\_next\_event\_delay()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga750076fdd75e2a7d3e442f6bd5968fb9} 
double lo\+\_\+server\+\_\+next\+\_\+event\+\_\+delay (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Return the time in seconds until the next scheduled event. 

If the delay is greater than 100 seconds then it will return 100.\+0. \Hypertarget{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_recv@{lo\_server\_recv}}
\index{lo\_server\_recv@{lo\_server\_recv}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_recv()}{lo\_server\_recv()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271} 
int lo\+\_\+server\+\_\+recv (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{}\end{DoxyParamCaption})}



Block, waiting for an OSC message to be received. 

The blocking behavior of this function is, in most cases, undesireable, since a program with no incoming messages may never exit. It is encouraged to use \doxylink{group__liblolowlevel_ga784a257252d05cc0e7210f4691f0661b}{lo\+\_\+server\+\_\+recv\+\_\+noblock()} instead, which is equivalent to \doxylink{group__liblolowlevel_ga33cdcfbab89d58f82175386a76698822}{lo\+\_\+server\+\_\+wait()} and then \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()}.

The return value is the number of bytes in the received message. The message will be dispatched to a matching method if one is found. In cases where no message is received but returning is necessary anyway, this function may return 0. \Hypertarget{group__liblolowlevel_ga784a257252d05cc0e7210f4691f0661b}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_recv\_noblock@{lo\_server\_recv\_noblock}}
\index{lo\_server\_recv\_noblock@{lo\_server\_recv\_noblock}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_recv\_noblock()}{lo\_server\_recv\_noblock()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga784a257252d05cc0e7210f4691f0661b} 
int lo\+\_\+server\+\_\+recv\+\_\+noblock (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{int}]{timeout}{}\end{DoxyParamCaption})}



Look for an OSC message waiting to be received. 

In new programs, this function should be prefered over \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()}.


\begin{DoxyParams}{Parameters}
{\em s} & The server to wait for connections on. \\
\hline
{\em timeout} & A timeout in milliseconds to wait for the incoming packet. a value of 0 will return immediately.\\
\hline
\end{DoxyParams}
The return value is the number of bytes in the received message or 0 if there is no message. The message will be dispatched to a matching method if one is found. \Hypertarget{group__liblolowlevel_ga33cdcfbab89d58f82175386a76698822}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_server\_wait@{lo\_server\_wait}}
\index{lo\_server\_wait@{lo\_server\_wait}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_server\_wait()}{lo\_server\_wait()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga33cdcfbab89d58f82175386a76698822} 
int lo\+\_\+server\+\_\+wait (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}}}]{s}{, }\item[{int}]{timeout}{}\end{DoxyParamCaption})}



Wait for an OSC message to be received. 


\begin{DoxyParams}{Parameters}
{\em s} & The server to wait for connections on. \\
\hline
{\em timeout} & A timeout in milliseconds to wait for the incoming packet. a value of 0 will return immediately.\\
\hline
\end{DoxyParams}
The return value is 1 if there is a message waiting, 0 if there is no message, and -\/1 if there is an error that causes the function to return early. If there is a message waiting you can now call \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()} to receive that message. This is preferable to using \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()} alone, since otherwise it may never exit if no new messages are incoming. \Hypertarget{group__liblolowlevel_ga2b7b00790f273135fab8fb9210dc61d2}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_servers\_recv\_noblock@{lo\_servers\_recv\_noblock}}
\index{lo\_servers\_recv\_noblock@{lo\_servers\_recv\_noblock}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_servers\_recv\_noblock()}{lo\_servers\_recv\_noblock()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2b7b00790f273135fab8fb9210dc61d2} 
int lo\+\_\+servers\+\_\+recv\+\_\+noblock (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \texorpdfstring{$\ast$}{*}}]{s}{, }\item[{int \texorpdfstring{$\ast$}{*}}]{recvd}{, }\item[{int}]{num\+\_\+servers}{, }\item[{int}]{timeout}{}\end{DoxyParamCaption})}



Look for an OSC message waiting to be received on multiple servers. 


\begin{DoxyParams}{Parameters}
{\em s} & As array of servers to wait for connections on. \\
\hline
{\em recvd} & An array to store the number of bytes received by each server in array s. \\
\hline
{\em num\+\_\+servers} & The number of servers in the array s. \\
\hline
{\em timeout} & A timeout in milliseconds to wait for the incoming packet. a value of 0 will return immediately.\\
\hline
\end{DoxyParams}
The return value is the total number of bytes received by all servers. The messages will be dispatched to a matching method if one is found. \Hypertarget{group__liblolowlevel_gaa1821643c567abbdd681ccda349c4311}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_servers\_wait@{lo\_servers\_wait}}
\index{lo\_servers\_wait@{lo\_servers\_wait}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_servers\_wait()}{lo\_servers\_wait()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaa1821643c567abbdd681ccda349c4311} 
int lo\+\_\+servers\+\_\+wait (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{lo__types_8h_a009a4f26c17bfcc1c31efc45499d09b8}{lo\+\_\+server}} \texorpdfstring{$\ast$}{*}}]{s}{, }\item[{int \texorpdfstring{$\ast$}{*}}]{status}{, }\item[{int}]{num\+\_\+servers}{, }\item[{int}]{timeout}{}\end{DoxyParamCaption})}



Wait on multiple servers for an OSC message to be received. 


\begin{DoxyParams}{Parameters}
{\em s} & An array of servers to wait for connections on. \\
\hline
{\em status} & An array to receive the status of each server. \\
\hline
{\em num\+\_\+servers} & The number of servers in the array s. \\
\hline
{\em timeout} & A timeout in milliseconds to wait for the incoming packet. a value of 0 will return immediately.\\
\hline
\end{DoxyParams}
The return value is the number of servers with a message waiting or -\/1 if there is an error that causes the function to return early. If there is a message waiting you can now call \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()} to receive that message. This is preferable to using \doxylink{group__liblolowlevel_gaebef3611d24e4b5f60f16cce76a9e271}{lo\+\_\+server\+\_\+recv()} alone, since otherwise it may never exit if no new messages are incoming. \Hypertarget{group__liblolowlevel_ga2426ef7d8173e6ec42c035c38282f066}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_string\_contains\_pattern@{lo\_string\_contains\_pattern}}
\index{lo\_string\_contains\_pattern@{lo\_string\_contains\_pattern}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_string\_contains\_pattern()}{lo\_string\_contains\_pattern()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga2426ef7d8173e6ec42c035c38282f066} 
int lo\+\_\+string\+\_\+contains\+\_\+pattern (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{str}{}\end{DoxyParamCaption})}



Test if a string contains any OSC pattern characters. 


\begin{DoxyParams}{Parameters}
{\em str} & The string to test \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
1 if true, 0 otherwise. 
\end{DoxyReturn}
\Hypertarget{group__liblolowlevel_gae62aa870bad161e4507f6338820ac243}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_strsize@{lo\_strsize}}
\index{lo\_strsize@{lo\_strsize}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_strsize()}{lo\_strsize()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gae62aa870bad161e4507f6338820ac243} 
int lo\+\_\+strsize (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{s}{}\end{DoxyParamCaption})}



A function to calculate the amount of OSC message space required by a C char \texorpdfstring{$\ast$}{*}. 

Returns the storage size in bytes, which will always be a multiple of four. \Hypertarget{group__liblolowlevel_ga9937fce1bfce695b01cd3289ead8b919}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_timetag\_diff@{lo\_timetag\_diff}}
\index{lo\_timetag\_diff@{lo\_timetag\_diff}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_timetag\_diff()}{lo\_timetag\_diff()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga9937fce1bfce695b01cd3289ead8b919} 
double lo\+\_\+timetag\+\_\+diff (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}}}]{a}{, }\item[{\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}}}]{b}{}\end{DoxyParamCaption})}



Find the time difference between two timetags. 

Returns a -\/ b in seconds. \Hypertarget{group__liblolowlevel_gad687e21ed611e68748e962502ae63d8e}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_timetag\_now@{lo\_timetag\_now}}
\index{lo\_timetag\_now@{lo\_timetag\_now}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_timetag\_now()}{lo\_timetag\_now()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad687e21ed611e68748e962502ae63d8e} 
void lo\+\_\+timetag\+\_\+now (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{structlo__timetag}{lo\+\_\+timetag}} \texorpdfstring{$\ast$}{*}}]{t}{}\end{DoxyParamCaption})}



Return a timetag for the current time. 

On exit the timetag pointed to by t is filled with the OSC representation of this instant in time. 

Referenced by \doxymbox{\hyperlink{lo__cpp_8h_source_l01120}{lo::\+now()}}.

\Hypertarget{group__liblolowlevel_ga97741eda3a779985d15c6df6214b9225}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_url\_get\_hostname@{lo\_url\_get\_hostname}}
\index{lo\_url\_get\_hostname@{lo\_url\_get\_hostname}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_url\_get\_hostname()}{lo\_url\_get\_hostname()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga97741eda3a779985d15c6df6214b9225} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+url\+\_\+get\+\_\+hostname (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{url}{}\end{DoxyParamCaption})}



Return the hostname portion of an OSC URL. 

The return value should be free()\textquotesingle{}d when it is no longer needed. \Hypertarget{group__liblolowlevel_gafb4d8889e3f6b45fd48fad4e3e3a4152}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_url\_get\_path@{lo\_url\_get\_path}}
\index{lo\_url\_get\_path@{lo\_url\_get\_path}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_url\_get\_path()}{lo\_url\_get\_path()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gafb4d8889e3f6b45fd48fad4e3e3a4152} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+url\+\_\+get\+\_\+path (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{url}{}\end{DoxyParamCaption})}



Return the path portion of an OSC URL. 

The return value should be free()\textquotesingle{}d when it is no longer needed. \Hypertarget{group__liblolowlevel_gaee2f6eeb9f7dc9f1dcb14d721eee2575}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_url\_get\_port@{lo\_url\_get\_port}}
\index{lo\_url\_get\_port@{lo\_url\_get\_port}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_url\_get\_port()}{lo\_url\_get\_port()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gaee2f6eeb9f7dc9f1dcb14d721eee2575} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+url\+\_\+get\+\_\+port (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{url}{}\end{DoxyParamCaption})}



Return the port portion of an OSC URL. 

The return value should be free()\textquotesingle{}d when it is no longer needed. \Hypertarget{group__liblolowlevel_gad9b547916d9e93187d02d61a2f083167}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_url\_get\_protocol@{lo\_url\_get\_protocol}}
\index{lo\_url\_get\_protocol@{lo\_url\_get\_protocol}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_url\_get\_protocol()}{lo\_url\_get\_protocol()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_gad9b547916d9e93187d02d61a2f083167} 
char \texorpdfstring{$\ast$}{*} lo\+\_\+url\+\_\+get\+\_\+protocol (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{url}{}\end{DoxyParamCaption})}



Return the protocol portion of an OSC URL, eg. udp, tcp. 

This library uses OSC URLs of the form:\+ osc.\+prot:\+/\+/\+hostname:\+port/\+path if the prot part is missing, UDP is assumed.

The return value should be free()\textquotesingle{}d when it is no longer needed. \Hypertarget{group__liblolowlevel_ga0550cc91417b530c26a360b10072a3cb}\index{Low-\/level OSC API@{Low-\/level OSC API}!lo\_url\_get\_protocol\_id@{lo\_url\_get\_protocol\_id}}
\index{lo\_url\_get\_protocol\_id@{lo\_url\_get\_protocol\_id}!Low-\/level OSC API@{Low-\/level OSC API}}
\doxysubsubsection{\texorpdfstring{lo\_url\_get\_protocol\_id()}{lo\_url\_get\_protocol\_id()}}
{\footnotesize\ttfamily \label{group__liblolowlevel_ga0550cc91417b530c26a360b10072a3cb} 
int lo\+\_\+url\+\_\+get\+\_\+protocol\+\_\+id (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{url}{}\end{DoxyParamCaption})}



Return the protocol ID of an OSC URL. 

This library uses OSC URLs of the form:\+ osc.\+prot:\+/\+/\+hostname:\+port/\+path if the prot part is missing, UDP is assumed. Returned value will be one of LO\+\_\+\+UDP, LO\+\_\+\+TCP, LO\+\_\+\+UNIX or -\/1.

\begin{DoxyReturn}{Returns}
An integer specifying the protocol. Return -\/1 when the protocol is not supported by liblo. 
\end{DoxyReturn}
