I have tried that and it is not working!! The printf statement in itself doesn't seem to work..
"Srijith.K" <[email protected]> wrote:
> Can I somehow print the values on the console..
Wouldn't placing something like this be suffecient :
printf("Commom Header length=%d",ch->sizeno());
If you are using FullTCP you can also use:
printf("TCP Header =%d",tcph->hlen());
I am new to NS, so take this will a bucket of salk :)
Srijith