[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xPL hub
- Subject: Re: xPL hub
- From: John B
- Date: Fri, 07 May 2004 06:32:00 +0000
Hi David,
> Where can I find a specification of how an application can discover
> if it is running on a (windows) machine with an xPL hub installed,
> and if so, how the new client should connect to the hub?
The xPL protocol specification has a section about the operation of hubs
(available on www.xplproject.org.uk).
The easiest way to determine whether a hub is running is to try and bind to
UDP
port 3865.
If the bind fails, a hub is running.
If the bind succeeds, there is no hub running.
Once you have determined that a hub is running, just send out an xPL
heartbeat
message (hbeat.app or config.app) containing the dynamic port number you
are
listening on, and the hub will pick this up.
HTH,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|