Hey there,
in the net80211_control example of Inet, I have added the thruputMeter between the udp and updApp (See the print screen) .
[udp.ipOut --> thruputMeter1.in;
thruputMeter1.out --> udpApp[0].udpIn; ]
I have this error :
<!> Error in module (ThruputMeter) Net80211_control.host[0].thruputMeter1 (id=16) at event #4, t=0: check_and_cast(): cannot cast (cMessage *)Net80211_control.host[0].thruputMeter1.RegisterProtocol to type 'cPacket *'.
I have tried to change the Thruputmeter.cc the HandleMessage functoin but nothing.
Please if somebody knows how to use the thruputMeter , give me some help!
Thx in advance.