thruputMeter check_and_cast

21 views
Skip to first unread message

Teo Iliadis

unread,
Jul 30, 2014, 6:37:14 AM7/30/14
to omn...@googlegroups.com
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.
AdhocHost.ned.jpg
Reply all
Reply to author
Forward
0 new messages