Hey all,
I would like to be able to control three different machines using a single app Which I have successfully done. It is all fine when I want to run the presentation with the same content. But I would like to be able to have control of the content on each machine. e.g some instances I may want to have the same content or I may want the content to be different but trigger at the same time.
* Is it possible to have different contents?
*How to access each machine separately?
eg. cluster[2].... will access machine three.
Is there any example projects floating about?
or any advice or direction would be appreciable.
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Ventuz Remoting4
Moderator: Support
Re: Ventuz Remoting4
You should be able to create 3 clusters to do this:
public void InitClusters()
{
leftCluster = new Cluster { Name = "Left" };
leftCluster.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.101"), 19400));
leftCluster.Start();
middleCluster = new Cluster { Name = "Middle" };
middleCluster.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.102"), 19400));
middleCluster.Start();
rightCluster = new Cluster { Name = "Right" };
rightCluster.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.103"), 19400));
rightCluster.Start();
}
You could also create an array which will make it easier to iterate through all clusters:
public void InitClusters()
{
Cluster[] machines = new Cluster[3];
for (int i = 0; i < machines.length; ++i)
{
machines = new Cluster { Name = "Machine " + i };
machines.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.101"), 19400));
machines.Start();
}
}
In this example you will need to provide an array of IP addresses (String[] machineIPs) and use that array in the AddMachine command:
machines.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse(machineIPs), 19400));
Hope this helps,
Etienne
public void InitClusters()
{
leftCluster = new Cluster { Name = "Left" };
leftCluster.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.101"), 19400));
leftCluster.Start();
middleCluster = new Cluster { Name = "Middle" };
middleCluster.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.102"), 19400));
middleCluster.Start();
rightCluster = new Cluster { Name = "Right" };
rightCluster.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.103"), 19400));
rightCluster.Start();
}
You could also create an array which will make it easier to iterate through all clusters:
public void InitClusters()
{
Cluster[] machines = new Cluster[3];
for (int i = 0; i < machines.length; ++i)
{
machines = new Cluster { Name = "Machine " + i };
machines.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse("192.168.1.101"), 19400));
machines.Start();
}
}
In this example you will need to provide an array of IP addresses (String[] machineIPs) and use that array in the AddMachine command:
machines.AddMachine(new System.Net.IPEndPoint(System.Net.IPAddress.Parse(machineIPs), 19400));
Hope this helps,
Etienne
-
- Posts: 35
- Joined: 30 Oct 2015, 19:19
Re: Ventuz Remoting4
Thanks, Etienne!! It works!!
In addition, I also came across a Class call multiport which manages cluster
In addition, I also came across a Class call multiport which manages cluster