The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: MVP joke needed?


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: xPL Monitor: triple msgs




Hi Tom,

> Aha!  I don't have any of that fancy stuff you mention, but I do have
> VMWare...
> Disabling the VMWare Network Adapters solved the issue!

Cool.

> Any workarounds for this ?  What is actually happening ?  Are these
> messages "phantom messages" as you describe them, or is a
command
> really picked up 3 times by the X10 device ?  I think it is the
> latter.
> I guess that I could examine the source code of xPL Hub V2.5 to see
> how it all works.  This is the same code that is included in xPL Hal,
> is it not ?

Yes, it's pretty much the same code.

What happens is this:

The hub binds to all local IP interfaces on the IANA-assigned xPL port 3865
UDP.

When xPL apps transmit, by default they use the broadcast address
255.255.255.255, so Windows routes the UDP packet to each of the listening
IP interfaces, so the hub sees one message for each interface that it is
bound to.

One way round this is to allow a mechanism for the user to specify which
interface the hub should bind to - this should aboid the problem of
duplicate messages.

Regards,

John




xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.