The traci function start() (in sumo/tools/traci/__init__.py) searches automatically for an open port that can be used to start a new sumo server. It uses the sumolib function getFreeSocketPort() and tries repeatedly until a connection is established. regards, Jakob
2017-04-28 12:56 GMT+02:00 KANAAD VINAYAK PARVATE <[email protected]>: > HI y'all, > > I'm trying to parallelize SUMO/Traci simultions; is there a way to check if > there is a sumo instance or a traci listener on a certain port? > > Thanks, > > > Kanaad Parvate > > UC Berkeley EECS '19 > Cell: 614-485-8614 > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
