[ns] How can I send variable sized packet, and measure the size ?

2009-01-19 Thread Sidney Doria
OK, I suppose a wired network (if you want to do this in a wireless net, read this tutorial: http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf). Any node receives a packet in the network layer by a method called RECV(). recv() decides what to do with the received packet. So the main

[ns] How can I send variable sized packet, and measure the size ?

2009-01-18 Thread Daehee Kim
Hi everyone. I want to send a packet which has variable size on the way to a destination. That is, the packet size when it starts from a source node will be different from when it is at one of forwarded nodes. ; the packet size is varied. How can I implement variable sized packet ? Also, How