Difference between revisions of "Hubs"

From XAP Automation
Jump to: navigation, search
(Other Non Dedicated Alternatives)
(What does a Hub do?)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
==What does a Hub do?==
+
==What does a Hub do ?==
  
As the name suggests, a hub allows one or more xAP applications to share a connection to the xAP network on a single PC. This is a technical requirement because of the way PC networks work - by default, only one application can own a network connection on a given port at a time.
+
A hub allows multiple applications to share a connection to the xAP network on a single PC. Only PC's running more than one xAP application need to run a xAP hub but it is recommended that a hub be installed by default on all computers on a home network that uses xAP. The hub is required because only one program on a computer is allowed to connect to an IP port and receive data. xAP data is sent over the LAN using UDP packets on port 3639. The job of a xAP hub is to listen for xAP messages on port 3639 and distribute them to the other xAP applications running on the computer. The hub and the application negotiate a local, dynamically allocated port to communicate over when the application starts up.
  
 
==Hub Choices==
 
==Hub Choices==
  
There are three variants of hub in common use:
+
There are two variants of hub in common use:
  
Stuart Booth's .NET v1.1 based hub for windows using xAP Framework.Net, which you can find [http://www.mi4.biz/modules.php?name=Downloads&d_op=viewdownload&cid=41 here]. This comes in three flavours: GUI, console and Windows Service.
+
Edward Pearson's .Net 2.0 based hub for Windows [[xFx-Express Hub]] available from [http://www.erspearson.com/xAP/xFx/hubs_main.htm here].<br/>
 +
This hub replaces various earlier hubs based on xAP Framework.Net v1 and v2.
  
Development of xAP Framework (xFx) its hubs has now been taken over by Edward Pearson. His enhanced xAP Framework v2 hubs are available from [http://www.edjo.pwp.blueyonder.co.uk/edward/xAP/xFx/hubs_main.htm here].
+
Patrick Lidstone's lightweight hub runs under Linux as well as Windows (requires [[CygWin]] dll) can be found [http://patrick.lidstone.net/haweb/hub.htm here].
 
+
Patrick Lidstone's lightweight hub runs under Linux as well as Windows (requires [[CygWin]] dll) can be found [http://patrick.lidstone.net/ha here].
+
  
 
==Other Non Dedicated Alternatives==
 
==Other Non Dedicated Alternatives==
  
Whilst operating more than a single xAPplication on a single PC requires a Hub to be operational, some xAP aplications offer a built-in hub role if no hub is detected when they start. Applications developed using [[xFx_v2]] have this functionality.
+
Whilst operating more than a single xAP application on a single PC requires a Hub to be operational, some xAP applications offer a built-in hub role if no hub is detected when they start. Applications developed using [[xFx_v2|xAP Framework]] gain this functionality from the framework. The preferred approach however is to install dedicated a xAP hub on all computers on the home network.

Latest revision as of 13:49, 13 August 2019

What does a Hub do ?

A hub allows multiple applications to share a connection to the xAP network on a single PC. Only PC's running more than one xAP application need to run a xAP hub but it is recommended that a hub be installed by default on all computers on a home network that uses xAP. The hub is required because only one program on a computer is allowed to connect to an IP port and receive data. xAP data is sent over the LAN using UDP packets on port 3639. The job of a xAP hub is to listen for xAP messages on port 3639 and distribute them to the other xAP applications running on the computer. The hub and the application negotiate a local, dynamically allocated port to communicate over when the application starts up.

Hub Choices

There are two variants of hub in common use:

Edward Pearson's .Net 2.0 based hub for Windows xFx-Express Hub available from here.
This hub replaces various earlier hubs based on xAP Framework.Net v1 and v2.

Patrick Lidstone's lightweight hub runs under Linux as well as Windows (requires CygWin dll) can be found here.

Other Non Dedicated Alternatives

Whilst operating more than a single xAP application on a single PC requires a Hub to be operational, some xAP applications offer a built-in hub role if no hub is detected when they start. Applications developed using xAP Framework gain this functionality from the framework. The preferred approach however is to install dedicated a xAP hub on all computers on the home network.