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: Wanting to use xPL more....


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

Re: Newcomer to xPL / Linux support


  • Subject: Re: Newcomer to xPL / Linux support
  • From: John B
  • Date: Wed, 03 Dec 2003 18:44:00 +0000

Hi Gordon,

> I've got a couple of bits of source off www.xplhal.com, been playing
> about with it. For some reason the xpldev and xplhub bits won't
> actually bind the port (or do but for some reason it doesn't show up
in
> nmap and I can't connect. Wierd). I think I might have a working
> generic xPL hub by the weekend though.

Just to clarify: xPL uses UDP, so you can't actually connect to the
listening
port.
The xPL hub will bind to UDP port 3865 and start listening for incoming
messages.
The xpldev framework will bind to any free UDP port (> 50,000 ISTR) and
will
then send out an xPL heartbeat message that the hub will pick up.
This heartbeat message contains the port number that xpldev has bound to.
The hub adds this port to an internal list, and whenever any xPL packets
arrive
on port 3865, the hub forwards them on to any port that is registered in
it's
list.

> Perhaps for running on larger machines (at least a low-end pentium)
the
> whole thing could be written in Python. It would certainly make adding
> plugins easier!

Sounds interesting.

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.