From 4902493c79875a2e39468b31f384fe333cb81e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 7 Apr 2010 14:45:28 +0000 Subject: iemnet__streamout() takes an argument telling us whether to serialize or not (non-serialization might be useful for proxies) svn path=/trunk/externals/iem/iemnet/; revision=13393 --- iemnet.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iemnet.h') diff --git a/iemnet.h b/iemnet.h index 2c45d3c..ca1a971 100644 --- a/iemnet.h +++ b/iemnet.h @@ -195,10 +195,11 @@ void iemnet__numconnout(t_outlet*status_outlet, t_outlet*numconn_outlet, int num * \param outlet outlet to sent the data to * \param argc size of the list * \param argv data + * \param stream if true, serialize the data; if false output as "packets" * - * \note with stream based protocols (TCP/IP) the length of the received lists has no meaning, so the data has to be serialized anyhow + * \note with stream based protocols (TCP/IP) the length of the received lists has no meaning, so the data has to be serialized anyhow; however when creating proxies, sending serialized data is often slow, so there is an option to disable serialization */ -void iemnet__streamout(t_outlet*outlet, int argc, t_atom*argv); +void iemnet__streamout(t_outlet*outlet, int argc, t_atom*argv, int stream); /** * register an objectname and printout a banner -- cgit v1.2.1