[ns] Too many open files error.

2009-01-23 Thread Daehee Kim
Hi everyone I got following error message too many open files I run simulation by typing ns test.tcl cbr1024.tcl is the connection pattern which has steps for simulation processing. It is called by test.tcl could you say possible reason for this ? Thanks. warning: Please use -channel as

[ns] How can I get comutation time at a node ?

2009-01-18 Thread Daehee Kim
Hi. I am using NS2.33 in Linux I am trying to measure computation time in each node (for example such as M^3 computation) // Here, measured current time.. (Before computation) for ... (100 loop) for ... (100 loop) for (100 loop) // Here, measured current time... (After

[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