Connecting a client to the host

In order to connect a client, the client must know the IP-address of the machine running the DataNetwork host. This IP is displayed in the DataNetwork GUI, and will look something like: 192.168.0.5, depending on what IP-address you have configured the machine to.

You can see which clients are connected to the DataNetwork by clicking on the “View clients” button in the left bottom corner GUI. A window will open that looks like this, when a client is connected:

Overview of the clients by the host

In the top row, you have a number of buttons:

  • [announce] – announces the DataNetwork on the local area network. This is done automatically when the host is created, but sometimes it may be useful to re-announce the host afterwards.
  • [V0] – this sets the verbosity level of the host. There are four levels of verbosity, which can be useful in case things are not working as expected, or when designing a new client and testing the functionality.
  • [log>] – writes the client-host interactions to a logfile.
  • [backup] – make a backup of the current client connections to file.
  • [restore] – restore the last saved client connections from file.

In the area next to the buttons, is a status line, which will give an explanation of what something is, when you hover above it with the mouse.

Below the top row, you will get three rows for each client.
In the first row, the IP-address of the client is shown, the port it is listening to, the name of the client, the missed pongs (if this number is increasing, there may be a problem with the connection of the client), the number of subscriptions, and the number of setters the client has.
The second row gives a list of all the nodes and/or slots the client is subscribed to, and whose data she is receiving.
The third row gives a list of all the node the client is a setter of, i.e. has created and is setting data to.

Comments/Questions

Comments are closed.