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: Re: Re: Socket problems


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

RE: Socket problems




> I'm trying to get my C++ code working with the xPL network
> settings (ListenOnAddress etc).
>
> Everything works fine if I bind my socket to INADDR_ANY, but
> if I use the local IP address (in my case 192.168.0.10),
> nothing is received.

Can I just clarify something:

The listenon address is only of any use if you are the hub.
If you're a hub client, you should be binding to 127.0.0.1, and ignoring
the listenon address.

Hubs send out packets on 127.0.0.1 to their hub clients - could this be
why Ethereal isn't seeing them?

Regards,

John


xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

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.