tuio_netclient file attached<br><br>starting server...<br>addval -1808180500<br>addval -245369419<br>addval -386604114<br>addval 349531305<br>addval -348985598<br>addval -1619147716<br><br><br><div class="gmail_quote">On Jan 11, 2008 9:19 PM, Agent Engram &lt;
<a href="mailto:agentengram@gmail.com">agentengram@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
&gt;will output binary data in the form of lists of byte-values.<br><br></div>so this may be a misunderstanding. I am writing my own server that intercepts the OCS events, that all works. what I am trying to figure out is if i wanted to send out messages to net client for instance a string that was something like id 56; x 200; y 300; rot 
0.923;&nbsp; what would I need to do to parse the&nbsp; netclient result.<br><br>I have tried [route x]-----[unpack&nbsp; $1] but that doesnt seem to work, but when i print the message using [print client1] it prints it just fine.<br><font color="#888888">
<br>
agent engram</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Jan 9, 2008 12:35 AM, IOhannes m zmoelnig &lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt; wrote:
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Agent Engram wrote:<br>&gt; so this thread is kindof a good place to ask a question. I have a<br>&gt; working pd client but I am tring to parse out results from my object<br>&gt; server, needed to manage the OCS data coming from my TUIO server.
<br><br></div>since TUIO really just builds on top of OSC (it took me some time to<br>understand that you really mean &quot;OSC&quot; when you write &quot;OCS&quot;; there are so<br>many abbreviations and acronyms out there that you have to be
<br>careful,...), why don&#39;t you just use OSC-objects?<br><br>there is this nice set of externals from mrpeach:<br>net/: a collection of objects allowing you to open UDP or TCP/IP ports<br>as client or server<br>osc/: a collection of objects that parse the output (or input resp.) of
<br>the net/-objects as OSC-messages understandable by Pd.<br><br>afaik they are part of pd-extended.<br>if you are not using pd-extended, get them from ./externals/mrpeach/net<br>and ./externals/mrpeach/osc (both in the pd-repository at sourceforge)
<br><div><br><br><br><br>&gt;<br>&gt; here is my client patch....<br>&gt;<br>&gt; <a href="http://www.newobjectivity.com/downloads/pd/tuio_netclient2.gif" target="_blank">http://www.newobjectivity.com/downloads/pd/tuio_netclient2.gif
</a><br><br></div>hmm, this is not really a patch, this is an image :-)<br><br>since Pd patches are usually very small text-files, it often makes sense<br>to send the patches themselves instead of screenshots of them.<br>

<div><br><br><br>&gt;<br>&gt; it seems the data is coming from the server ok...<br><br></div>afaik, [netclient] (as well as mrpeach/net&#39;s [udpreceive]/[tcpreceive])<br>will output binary data in the form of lists of byte-values.
<br>you will have to parse them to make sense.<br>otoh, your output does not seem to be binary-data in form of byte-lists.<br>it seems to be binary data interpreted as pd-messages.<br>OSC is a binary protocol.<br><br><br>

fmgsdr.<br><font color="#888888">IOhannes<br></font></blockquote></div><br><br clear="all"><br></div></div>-- <div><div></div><div class="Wj3C7c"><br>-----------<br>i am an agent implanted into your unconscious when you abducted by the travelers. look for signs of me in your life. 
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-----------<br>i am an agent implanted into your unconscious when you abducted by the travelers. look for signs of me in your life.