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




Well at least I've got something right.
As far as I can tell, my hub seems to work correctly (at least, everyone
gets their messages, and Ethereal shows all the packets)

My concern is with the xPLHal hub, which I can't communicate with unless my
client binds to INADDR_ANY (which is 0.0.0.0 as you say).  I'm a bit
concerned about releasing code that doesn't work with old-style hubs.

I'd also like to test with a hub built with the V3 lib - is there one
available?

Mal




----- Original Message -----
From: "Tom Van den Panhuyzen" <tomvdp@xxxxxxx>
To: <ukha_xpl@xxxxxxx>
Sent: Monday, March 21, 2005 10:16 AM
Subject: Re: [ukha_xpl] Socket problems


>
> The hub client binds to:
> - ListenOnAddress if specified
> - ANY otherwise (which translates to 0.0.0.0 iirc)
>
>
> On Mon, 21 Mar 2005 10:08:29 -0000, Malcolm Lansell
> <mlansell@xxxxxxx> wrote:
>> OK, so if I'm a hub client, what do I bind my receiving socket to:
>>
>>         ListenOnAddress,
>>         INADDR_ANY,
>> or    127.0.0.1
>>
>> For what it's worth, I seem to remember an earlier thread about
being
>> unable
>> to bind to 127.0.0.1....
>>
>> Mal
>>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
>



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.