Transparent Data Routing (Link Service)

Top  Previous  Next

Transparent Data Routing Plugin is a Data Transfer/Device Plugin that implements Link Service functionality. When this plugin is enabled in the Account Properties for a given Device Server, as soon as that Device Server becomes connected, LinkServer starts to listen for TCP connections on a dedicated "client port" which is specified in the plugin settings. If some hardware (such as another Device Server), or software (some PC application) client connects to this port, LinkServer starts acting as a "pipe": It transparently routs data between this client and the hardware device connected to the Device Server. It forwards all data received from the Device Server (actually, from the hardware device "behind" the Device Server) to the Client. All data received from this Client is forwarded back to the Device Server (and the Device Server forwards it to its "other" side, i.e. hardware device).

Global Settings

Lowest number of port assigned to Device Servers. Default is 50000.
Highest number of port assigned to Device Servers. Default is 60000.

These two options define a range of ports that can be assigned for Client connections in the Device Server settings of this plugin. This range can be overridden in User-level Settings.

Comma-separated list of ports never assigned to Device Servers. Exceptions from the above range. This ports cannot be assigned  to Clients neither automatically nor manually.

User Settings

Lowest port number that can be assigned to Device Servers under this account.  
Highest port number that can be assigned to Device Servers under this account.

These options override the Client port range defined in the Global Settings.

Device Server Settings

Port number for client connections (zero for auto-assignment). Default is zero. This port is used by clients to connect and send data to this particular Device Server and Data Terminal. The plugin listens on this port only after Device Server connects and logs in to LinkServer. Only one client can connect at the same time, other connections will be rejected. If this setting is set to zero, the plugin will find a free port (one which is not assigned to any other Device Server) in the port range specified by Global or User Settings and set a new value to this setting. Port auto-assignment is performed during the the Device Server's first login, and in future logins this Device Server always gets the same port number because its internal setting was changed. You can check which port was assigned to the Device Server by viewing plugin settings after Device Server has been logged in.