hi, I have created a new agent by modifying 'ping' example in Marc Greis tutorial. But if i execute the '.tcl' file im getting the same output as before. I have added some classes.but i execeuted by commenting those classes and i changed the following line alone: I have changed:
sprintf(out, "%s recv %d %3.1f", name(), hdrip->src_.addr_ >> Address::instance().NodeShift_[1], (Scheduler::instance().clock()-hdr->send_time) * 1000); into: sprintf(out, "%s recv %d %3.1f", name(), hdrip->src_.addr_ >> Address::instance().NodeShift_[1], (Scheduler::instance().clock()-hdr->send_time) * 1000+15); I also compiled the .cc file. But the errors are created. Even the ping.cc file is also not compiling well. Can anyone Please help me to solve this problem?...i need to execute with the desired classes added... Please furnish me steps to accomplish successful execution...This is my final year project.I ll be very thankful to you if you do me favour.. I Thank you for your help which you are going to do for me -- View this message in context: http://www.nabble.com/how-to-compile-new-agent-tp16045034p16045034.html Sent from the ns-users mailing list archive at Nabble.com.