zombieZero
Technical User
I feel like I'm missing something obvious here, but if anyone could help I'd appreciate it. Basically, I've got a TCL analyzer that captures packets. So that the capture can run at the same time as the generator, I spawn the generator as a new process using a standalone tcl script. This works, but sometimes they get a little out of synch...
What I really want to do is to have the generator give the analyzer the 'ok' to begin the capture only once the packets are just about to go out.
Since they are different processes, the TCL objects are not able to see one another and can't share variables...but I thought maybe I could use an environmental variable that both processes could see as a 'toggle' the generator could set and which could act as a trigger for the analyzer to start the capture.
Does anyone have an idea how this can be accomplished?
Thanks!
What I really want to do is to have the generator give the analyzer the 'ok' to begin the capture only once the packets are just about to go out.
Since they are different processes, the TCL objects are not able to see one another and can't share variables...but I thought maybe I could use an environmental variable that both processes could see as a 'toggle' the generator could set and which could act as a trigger for the analyzer to start the capture.
Does anyone have an idea how this can be accomplished?
Thanks!