I knew that. But the problem is I can't connect to the hub for some reason.. I tried the following:
- first connect to the controller, and then to the HUB using the SID:
sid = s.Login(username, wachtwoord, true);
PDS reply = s.SendMessage(new Request("port_list")); //this works
NimbusSession sessionHub = new NimbusSession("/<domain>/<hub>/<robot>/hub", sid);
PDS hubs = sessionHub.SendMessage(new Request("gethubs"));
- first connect to the controller and connec tot the hub using the sid, address and port
sid = s.Login(username, wachtwoord, true);
PDS reply = s.SendMessage(new Request("port_list"));
NimbusSession sessiieHub = new NimbusSession("/<domain>/<hub>/<robot>/hub", (int)NimbusPort.Hub, sid);
PDS hubbs = sessiieHub.SendMessage(new Request("gethubs"));
- then I tried to connect directly to the hub using different ways of using IP-adresses and names.. Nothing seem to work.