Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] How to controll multiple connections to the same sumo server efficiently.

Hello,

 I have a Sumo server fire up from sumo-gui.exe from the command line like so:
 sumo-gui.exe -c simpgrid.sumocfg --remote-port 9999 --num-clients 2

I have a client in python and I want to connect two of them at the same server. I do so and set then the connection1.setOrder(1) for the first client and connection1.setOrder(2)
 for the second one.
This works properly but I noticed that you can send a number of requests from the first client
 and then the other clients just waits until it is its turn to send requests.

I was wondering if a client can give up its turn if it doesn't need to send any requests at the
 given moment.
I want to do this in order to send only some commands from the second client and have the first
 client do most of the work.

Thanks,
Tom



Back to the top