The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

RE: Re: W800



Hi Mal,

> OK, the problem is a sockets related issue.  I used to bind
> my socket to INADDR_ANY, which works fine with the hub in
> xPLHal.  However, if I specify a ListenOnAddress in the
> registry, then I have to bind to that instead, but I don't
> get any messages from the hub in xPLHal (it's as if the
> xPLHal hub doesn't work with ListenOnAddresses)

I think there is an issue with your hub.

When your hub sends out packets to it's hub clients, it seems to be
broadcasting them to 255.255.255.255, rather than just sending them out
over the loopback address.

So one machine with your hub installed is flooding the network with
packets to ports 50000, 50001 etc.
(at least that's what Ethereal shows)

Hub clients (like the W800) should be binding to the loopback address.

The "ListenOn" and "ListenTo" registry stuff is only
used for the hub's
base port (3865).
All communication with hub clients should be via the loopback interface
- otherwise traffic will spill onto the local network.

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.