From: Steve H. <S.W...@ec...> - 2004-12-08 10:20:16
|
On Wed, Dec 08, 2004 at 09:28:17AM +0000, Chris Cannam wrote: > > Steve -- you may remember this bit of a long ago discussion on LAD: > > On Friday 16 Jul 2004 18:26, Steve Harris wrote: > > On Fri, Jul 16, 2004 at 05:21:15 +0200, Alfons Adriaensen wrote: > > > How does the host distinguish between an 'external' command and one > > > that came from the UI, if both arrive by UDP message ? > > > > It can tell from the message. The address path is different. > > So, _how_ does the host tell where a message came from? Hmm... well the host ip and port number of the imcoming message are unique for the source, so the host could remeber it from the original registration message, and treat messages from that source as coming from the UI and not reflect them. But, I dont think there is a way in the liblo API of getting the address or port of an incoming message, its a longstanding bug. - Steve |