[ns] question regarding printf

2013-08-01 Thread prince
how to add simple printf statement in any .cc file so that it is display on the terminal i am doing so in aodv.cc but didnt display any thing on terminal pls help thanks -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/question-regarding-printf-tp27415.html

Re: [ns] debugging by printf statement

2013-08-01 Thread prince
did u get any answer for that regarding printf statement how can we use printf statement in ns2 -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/debugging-by-printf-statement-tp26703p27416.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] The destination does not receive CBR traffic in network layer

2013-08-01 Thread Amir Darehshoorzadeh
Hi all, I created an CBR traffic from source_0 to destination_2. Two nodes are in the range, in the recv function of my routing protocol node_2 does not receive the packet. But it received by the application layer. Could you please tell me what is wrong with it? Below is the way I created