I have a major problem that's affecting my simulation results:
I'm using "bloom filters" to know if this a duplicate packet or not. I added them to UDPBasicApp. Basically this how they should be working:
if (BloomArray.contains(msg))
drop(msg);
else
BloomArray.Add(msg);
//process msg normally
My question:
How can I do this? It should be trivial but I cannot get it done.
Attached is my UDPBasicApp.cc & UDPBasicApp.h