Hello,
I want to print the "acknowledgment number" of every ACK in the terminal...
So I went to tcp.cc ( "newack" method ) and I did this:

        cout << "ACK number is: " << tcph->ackno_ << endl;

but all the ACK numbers it prints for a simple simulation are equal to
zero...
note that i was able to print the correct sequence numbers using the exact
same approach.
what am i doing wrong ?

regards

Reply via email to