[ns] how to find the node id

2014-03-22 Thread prince
hi how can i find the node id in queue.cc if i am using index_ it doesn't work i want to monitor the queue of particular node ,how can i do it thanks -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/how-to-find-the-node-id-tp28465.html Sent from the ns-users ma

[ns] how to find the node id

2014-03-06 Thread prince
when i want to get the node id in dsred.cc file i add these lines and include mobilenode.h and node.h in dsred.h MobileNode *thisnode = (MobileNode *) ((Node::get_node_by_address(id))); printf("%d\n",thisnode->address()); i got segmentation fault core dumped how can i solve it thanks -- View