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

packet size



Hi, Greis,

In your tutorial, you add the following line in "ns-default.tcl".

=============================
Agent/Ping set packetSize_ 64
=============================

I wonder what happens with the statement. Does ns only change the size_ in
the packet? Will Packet::allocdata() be called to allocate 64 bytes?

Thanks,
Gang Xu
------------------------------------------------------------------
Department of CS                        Tel: (205)348-0996(O)
University of Alabama, Tuscaloosa       http://www.eng.ua.edu/~gxu