[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Agent classes



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]