<div dir="ltr"><div><div><div><div>Hi,<br><br>this is exactly what UDP should do by design. <a href="https://tools.ietf.org/html/rfc768">https://tools.ietf.org/html/rfc768</a><br><br>By definition the Header has a field Source Port which should be filled when the other side needs to send an answer. You can look at it as a kind of Multiplexing you send with a high port fill the source port field and the other side answers to the port in that field.<br><br></div>I know of some libraries that do not fill it and others that do. The best thing on that matter I saw was a little daemon that manages the sending an receiving and did everything with just one port.<br><br></div>Hope this helps a bit with UDP.<br><br></div>Regards<br><br></div>Melanie<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-13 19:46 GMT+02:00 David West <span dir="ltr"><<a href="mailto:david.r.west@outlook.com" target="_blank">david.r.west@outlook.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<p dir="auto">Las, _FrnchFrgg_,</p>
<p dir="auto">Further to the discussion in irc.</p>
<p dir="auto">When a surface using touchOSC sends a command packet to ardour it sends to IP port 3189 as configured. The IP source port of this packet is random and chosen by the OS. Ardour then replies to the source port of that packet. Meanwhile touchOSC
 is listening on the port the user configured it to listen on.<br>
Each time touchOSC sends a new command packet the source IP port is likely different again and ardour does as documented and changes the reply port.<br>
Maybe touchOSC was changed to only listen on the configured port, I don't know but that is how the current version works as do the other apps I have tried.</p>
<p dir="auto">In my opinion ardour needs a change to either always send status on one specific port or the surface could tell ardour what port to send replies on by a similar mechanism that it uses to set the bank size and status information to send.</p>
<p dir="auto">I have monitored the link with wireshark and can confirm this is what currently happens and it definitely breaks the status sent by ardour.<br>
Perhaps other users are using something to translate that. Perhaps I am missing something else.</p>
<p dir="auto">Las, I think you mentioned that you tested with touchOSC. I have version 1.9.7 on this device. What version is Yours? Also could you send me a copy of the touchOSC layout you created.</p>
<p dir="auto">Davew1970<br>
<br>
</p>
<p dir="auto">Get <a href="https://aka.ms/ghei36" target="_blank">Outlook for Android</a><br>
</p>
</div>

<br>______________________________<wbr>_________________<br>
ardour-dev mailing list<br>
<a href="mailto:ardour-dev@lists.ardour.org">ardour-dev@lists.ardour.org</a><br>
<a href="http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org" rel="noreferrer" target="_blank">http://lists.ardour.org/<wbr>listinfo.cgi/ardour-dev-<wbr>ardour.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div>