thanks a bunch, OSC it is, on port 3333, from the reacTable TUIO server.<br><br>I figured out that I needed &quot;;\n&quot; on my messages for the router to figure them out.<br><br>here is my netclient in PD, i will be making my server available also when I get that darn BLOG up.
<br><br>agent engram<br><br><div class="gmail_quote">On Jan 13, 2008 7:18 AM, IOhannes m zmoelnig &lt;<a href="mailto:zmoelnig@iem.at">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 class="Ih2E3d">Agent Engram wrote:<br>&gt;&gt; will output binary data in the form of lists of byte-values.<br>&gt;<br>&gt; so this may be a misunderstanding. I am writing my own server that<br>&gt; intercepts the OCS events, that all works. what I am trying to figure out is
<br><br></div>since you keep calling it OCS, i guess my assumption that you mean OSC<br>(Open Sound Control) is wrong.<br>could you please tell me what OCS is is?<br><div class="Ih2E3d"><br>&gt; if i wanted to send out messages to net client for instance a string that
<br>&gt; was something like id 56; x 200; y 300; rot 0.923; &nbsp;what would I need to do<br>&gt; to parse the &nbsp;netclient result.<br>&gt;<br>&gt; I have tried [route x]-----[unpack &nbsp;$1] but that doesnt seem to work, but<br>&gt; when i print the message using [print client1] it prints it just fine.
<br><br></div>might be a problem with the parsing of your string.<br>when you send a message to Pd (e.g. [netreceive]), it will parse the<br>string received and try to interpret it as a pd-message.<br>e.g. the string &quot;id 56&quot; will be split into a symbol-atom &quot;id&quot; and a
<br>number &quot;56&quot;.<br><br>if your string is somehow &quot;weird&quot; (e.g. because you send &quot;56,4&quot; instead<br>of &quot;56.4&quot;) Pd&#39;s built-in parser might parse the string in an unexpected<br>way. (
e.g. &quot;56,4&quot; will become a symbol &quot;56,4&quot;!)<br><br>[netclient] is an external, probably it uses some broken parser.<br><br>2 suggestions:<br>- if you really mean OSC intead of OCS, then try sending OSC data to Pd
<br>from your server, if that is feasible.<br>- if you don&#39;t need a bidirectional connection between your server and<br>Pd but are happy with a unidirectional one, use [netreceive] instead;<br>this object is built-into Pd and certainly better tested.
<br><br>gfmadfr<br><font color="#888888">IOhannes<br></font></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.