[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Agent classes
Sorry,for the confusion,by handling ACKs I meant the function
that actually generates the ACKs.Looking at recv() function in
tcp.cc,it looks like it receives ACKs and sents out packets.
Therefore I would like to know which one generates them.
Thanks
Mpiti
On Wed, 28 Mar 2001, Lewie Donckers wrote:
> Hi,
>
> > Thanks for the prompt responce.By the way what's the name of the
> > fuction in tcp-sink.cc that actually handles acks.
>
> What you have been told is not exactly true. tcp-sink.cc (and the recv()
> function) does not handle acknowledgements but it handles normal data
> packets. It (indirectly) _creates_ acknowledgements in response to data
> packets. The recv() function in tcp.cc handles acknowledgements (and sends
> more data packets in response).
>
> Hope this helps.
>
> -- Lewie Donckers
> --
> -- Computer Science student at the University of Twente, the Netherlands
> -- [email protected]
>
>