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



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)

The problems with the W800 service on Franks machine come from the fact
that in the absence of a ListenOnAddress in the registry, I just bind to
the local IP instead.  The solution is not to bind to INADDR_ANY like I
used to, because that stops things working properly on PCs with multiple
network cards.

It's a catch 22, but since my new hub works fine with all the other
apps, and on all the tester's machines, I think the solution is to dump
the xPLHal hub for good and forget the problem ever existed ;-)

Mal



Mal Lansell wrote:

> Ok, I'll enable the hub in xPLHal and take a look.
>
> Mal
>
> Frank Mc Alinden wrote:
>
> > Hi Mal
> >
> > >Which hub are you using? (maybe it has different behaviour to
what I
> > >expect)
> >
> > I havent updated any hubs as i assumed xphal hub would start ??
> > Just had a look and xplhal is using port 3865....
> >
> > Frank
> >
> >
> >
> >
> >   ----- Original Message -----
> >   From: Mal Lansell
> >   To: ukha_xpl@xxxxxxx
> >   Sent: Wednesday, September 21, 2005 11:48 PM
> >   Subject: [ukha_xpl] Re: W800
> >
> >
> >   That's a bit bizarre - I did test it and the quick hbeats
stopped as
> >   soon as it received it's own hbeat message back from a hub.
> >
> >   Which hub are you using? (maybe it has different behaviour to
what I
> >   expect)
> >
> >   And on another note for the hub experts out there - hubs are
> >   supposed to send all messages to their clients, right?  Even
ones
> >   that came from that client?
> >
> >
> >
> >   --- In ukha_xpl@xxxxxxx, "Frank Mc Alinden"
<frankmc@i...>
> >   wrote:
> >   > Hi Mal
> >   >             Have downloaded this latest version and its
> >   continually sending 10 second hbeats even though  everythings
> >   working ok ,???
> >   >
> >   > Frank
> >   >
> >   >
> >   >   ----- Original Message -----
> >   >   From: Mal Lansell
> >   >   To: ukha_xpl@xxxxxxx
> >   >   Sent: Monday, September 19, 2005 2:18 AM
> >   >   Subject: Re: [ukha_xpl] Re: W800
> >   >
> >   >
> >   >   A update to the W800 service is now available.
> >   >   www.xplmonkey.com/downloads/xplw800.msi
> >   >
> >   >   It has no built-in hub, but sends heartbeats at 10
second
> >   intervals
> >   >   until it detects the presence of a hub in the system (I
think 10
> >   seconds
> >   >   is frequent enough).
> >   >
> >   >   It runs as either a service or console application,
depending on
> >   your
> >   >   operating system, using the same system as my new xPLHub
- the
> >   >   installation problems I mentioned in another thread have
been
> >   resolved.
> >   >
> >   >   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
> >   >
> >   >
> >   >
> >   >   SPONSORED LINKS Protocol analyzer  Protocol converter 
Sip
> >   protocol
> >   >         Tcp  Protocol analysis  Protocol
> >   >
> >   >
> >   >
-------------------------------------------------------------------
> >   -----------
> >   >   YAHOO! GROUPS LINKS
> >   >
> >   >     a..  Visit your group "ukha_xpl" on the web.
> >   >
> >   >     b..  To unsubscribe from this group, send an email to:
> >   >      ukha_xpl-unsubscribe@xxxxxxx
> >   >
> >   >     c..  Your use of Yahoo! Groups is subject to the
Yahoo! Terms
> >   of Service.
> >   >
> >   >
> >   >
-------------------------------------------------------------------
> >   -----------
> >   >
> >   >
> >   >
> >   > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> >   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
> >
> >     a..  Visit your group "ukha_xpl" on the web.
> >
> >     b..  To unsubscribe from this group, send an email to:
> >      ukha_xpl-unsubscribe@xxxxxxx
> >
> >     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> > Service.
> >
> >
> >
>
------------------------------------------------------------------------------
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > 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
> >
> >
> >
> > SPONSORED LINKS
> > Protocol analyzer
> >
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+analyzer&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=QulmGKu5OpHgigyaWFXqqA
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+analyzer&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=QulmGKu5OpHgigyaWFXqqA>>
>
> >       Protocol converter
> >
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+converter&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=_Gav_2JNLbgwjsCn8RqM-w
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+converter&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=_Gav_2JNLbgwjsCn8RqM-w>>
>
> >       Sip protocol
> >
> <http://groups.yahoo.com/gads?t=ms&k=Sip+protocol&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=d2G6YVkW-P5WBFmpuWQ3Zw
> <http://groups.yahoo.com/gads?t=ms&k=Sip+protocol&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=d2G6YVkW-P5WBFmpuWQ3Zw>>
>
> >
> > Tcp
> >
> <http://groups.yahoo.com/gads?t=ms&k=Tcp&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=9xqmZjMntiOfVEPLIpwKUg
> <http://groups.yahoo.com/gads?t=ms&k=Tcp&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=9xqmZjMntiOfVEPLIpwKUg>>
>
> >       Protocol analysis
> >
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+analysis&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=j5RxaJ5TSW2NTgWhIna4qQ
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+analysis&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=j5RxaJ5TSW2NTgWhIna4qQ>>
>
> >       Protocol
> >
> <http://groups.yahoo.com/gads?t=ms&k=Protocol&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=OPnkI6GadMASTgKewyeqDQ
> <http://groups.yahoo.com/gads?t=ms&k=Protocol&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=OPnkI6GadMASTgKewyeqDQ>>
>
> >
> >
> >
> >
------------------------------------------------------------------------
> > YAHOO! GROUPS LINKS
> >
> >     *  Visit your group "ukha_xpl
> >       <http://groups.yahoo.com/group/ukha_xpl>"
on the web.
> >
> >     *  To unsubscribe from this group, send an email to:
> >        ukha_xpl-unsubscribe@xxxxxxx
> >       <mailto:ukha_xpl-unsubscribe@xxxxxxx?subject=Unsubscribe>
> >
> >     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >
------------------------------------------------------------------------
> >
>
>
>
> 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
>
>     *  Visit your group "ukha_xpl
>       <http://groups.yahoo.com/group/ukha_xpl>"
on the web.
>
>     *  To unsubscribe from this group, send an email to:
>        ukha_xpl-unsubscribe@xxxxxxx
>       <mailto:ukha_xpl-unsubscribe@xxxxxxx?subject=Unsubscribe>
>
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
>
------------------------------------------------------------------------
>




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.