<div>hey jamie, </div><div><br></div>Yep, in this project (<a href="https://vimeo.com/24818342">https://vimeo.com/24818342</a>) it was going back and forth from the core app (cpp) to pd. Using OSC. Cannot recall if TCP or not, but can probably track it down. (that should not make much of a difference at least outside the network layer).<div>

<br></div><div>So you send from liblo and pd receives, but no data unpacks? Did I get it write? If you open a ./oscdump on command line you get the data? (meaning it would be a pd-side issue...)</div><div><br></div><div>
Best,</div>
<div>pedro<br><div><br></div><div><br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 2:51 PM, Jamie Bullock <span dir="ltr">&lt;<a href="mailto:jamie@jamiebullock.com" target="_blank">jamie@jamiebullock.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi all,<br>
<br>
Apologies for the rather esoteric question.<br>
<br>
I&#39;m trying to send OSC to/from Pd over TCP using the liblo OSC library and the mrpeach/ OSC externals [tcpserver], [packOSCstream] and [unpackOSCstream]. I&#39;ve attached my testing patch.<br>
<br>
I am able to connect to [tcpserver] from liblo, and receive raw bytes. However, [unpackOSCstream] seems unable to unpack the data. It just outputs nothing for the bytes received.<br>
<br>
Likewise, if I send to liblo from [tcpserver] using the |client( selector, liblo crashes with the message &quot;error? message too short?&quot;.<br>
<br>
So, it seems like [packOSCstream] and [unpackOSCstream] are (un)packing message in a format that can&#39;t be used with external clients/servers. Is that correct?<br>
<br>
Has anyone else managed bi-directional communication using OSC over TCP with an external application?<br>
<br>
Thanks,<br>
<br>
Jamie<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Pedro Lopes (HCI Researcher / MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/pedro.lopes/" target="_blank">http://web.ist.utl.pt/pedro.lopes</a> / <a href="http://pedrolopesresearch.wordpress.com/" target="_blank">http://pedrolopesresearch.wordpress.com/</a> | <a href="http://twitter.com/plopesresearch" target="_blank">http://twitter.com/plopesresearch</a><br>


</div></div>