Re: [ns] Simulating channel Hopping in ns2

2006-11-15 Thread Daniel Mahrenholz
Hi, gaurav deshpande schrieb: Hi all, We intend to implement channel hopping using ns2 simulator. Has anyone tried to implement hopping in ns2? Our approach: We found that each channel (class WirelessChannel) keeps a linked list of all nodes listening on that channel. For a

Re: [ns] Simulating channel Hopping in ns2

2006-11-15 Thread Pedro Vale Estrela
I cannot help with the channel hopping. But to find problems with linked lists etc. in the C++ part of the code it is always a very good idea to good tip run ns-2 using valgrind. Simulations will use a lot more time to run, but every strange or wrong memory access will be recognized. As