1) i start the process on linux using cmd
system ("tethereal -i eth0 &");
2) then i send tcp packets.
3) then i bring the above process to foreground using fg.
4) sometimes i see packets and sometimes i dont see any packets.
5) the above script is integrated in perl and i feel that the buffering is not happening properly.
6)if u do it manually everything is fine.
can anyone help me with this buffering issue and how we can make sure.