<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">HI Scott, </div><div class="">i do a similar thing - send OSC from the LEMUR app to pd and vice versa.</div><div class="">Lemur sends osc and to receive it in pd works fine with </div><div class="">[netreceive -u -b] </div><div class="">|</div><div class="">[oscparse]</div><div class="">|</div><div class="">[list trim]</div><div class="">|</div><div class="">[route whatever the message]</div><div class=""><br class=""></div><div class="">there seem to be a odd behaviour with [netsend -u -b] though.</div><div class="">according the UDP protocol a message should be broadcast to an IP adress regardless if the receiving end is actually listening.</div><div class="">this bi-directionality is redarded only with TCP.</div><div class=""><br class=""></div><div class="">however, in [netsend -u -b] once the receive leaves the network the connection is closed, and you need to reconnect to the device in order to send messages.</div><div class="">so i connect to the device every second, to make sure that it receives messages upon re-entry to the wlan-network</div><div class="">(i also need to send the status of the patch on a regular basis, so that all devices are up to date…)</div><div class=""><br class=""></div><div class="">my patch (quite simple file playback in response to sensor input) worked fine, but i had occasional crashes / freezes with “watchdog singaling pd” (i run pd-0.48 on RaspberryPi B+)</div><div class="">since pd writes “connecting to port “ to the console everytime i connect - which is every second - after a couple of hours/days is filled the RAM and caused some misbeavior.</div><div class=""><br class=""></div><div class="">the solution - and i hope it really fixes the freezes also in the long run - was to send the standard error to dev/null like so:</div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">puredata -stderr <span style="font-variant-ligatures: no-common-ligatures; color: #272ad8" class="">2</span>>/dev/null path/to/patch.pd</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">i think roman made an error report about this [netreceive -u -b] beahviour already.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div></body></html>