|
From: Jens F. <fa...@me...> - 2009-06-27 18:49:02
|
Hello, I am writing a traci client. And now I have some problems, and I hope someone out there can be helpfull. For reasons of speed I try to bundle a lot of cammands into one TCP packet. When I understood the message format correct, than we can put 2^32 bytes of commands in one message, right? because the message begins with an 32bit integer for message length: http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI/Protocol#Messages I am bundling 4000 commands @ 14 bytes in one message and now I get weird responses. On http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI/Protocol#Status_Response it's said that there are 3 possible response types: 0x00, 0xff and 0x01, but I get an 0x0C What does that mean? And I also get only 256 responses. Could it be that I can't send more than 256 commands even if the length suggested I can send 2^32 commands? The responses first 3 bytes look alway like this: first an integer incremented with each response second 0x0D and third 0x0C My Commands are all Scenario commands to ask the names of alle edges. Kind Regards Jens Fahnenbruck |