Go to tcl/lib/ns-link.tcl and try renaming lif to if and recompile ns
. it should work then.
Iif ![$var info class Node] { ;# $op on most everything - if
![$var info class Node] { ;# $op on most everything
cheers
2011/5/6 ma-haiyuan ma-haiy...@163.com:
Hello everyone!
When I do the
Hello,
I'd like to know how could I stop the simulation in the moment a mobile node
have energy = 0.
In tcl scripts I've only seen people stopping the simulation by time.
Is it possible to be done?
Thank you in advance.
--
Clederson
You mean stopping completely or pausing and then resuming the
simulation? I am positive the first is possible with some slight
modifications while the second is doubtful or at least very hard to
accomplish. Maybe someone else can shed some light on the second
possibility.
cheers, Fivos
On Sat,
In my case it'd be stopping completely the simulation.
I've been trying to abort the execution in the Mobilenode::log_energy method.
I'm doing something like this:
void
MobileNode::log_energy(int flag)
{
if (!log_target_)
return;
Scheduler s = Scheduler::instance();
if (flag) {
//
Hello,
I'm working on enhancing the ieee 802.15.4(ZigBee) standard.
If I change the back end code of ns2 do I need to recompile the code? if
yes can anyone explain how .
please help i'm in critical stage.
--
Jeeva Rajeeva
try : return (TCL_ERROR);
instead of: exit(1);
On Sat, May 7, 2011 at 4:53 PM, Clederson clederso...@gmail.com wrote:
In my case it'd be stopping completely the simulation.
I've been trying to abort the execution in the Mobilenode::log_energy method.
I'm doing something like this:
void
My previous answer is wrong i think but you get the point. You need to
return (TCL_ERROR) at the c++ function that was called by TCL.
You can then catch the error at your tcl script and do what you want
when that error is raised.
On Sat, May 7, 2011 at 5:40 PM, fivos fivos@gmail.com wrote:
Dear Ahmed i remember reading a similar post in the mailing list that
provides the answer, you should find it if you search thoroughly.
cheers , Fivos
On Thu, May 5, 2011 at 6:02 PM, Ejaz Ahmed Awan ime...@gmail.com wrote:
Dear All,
I have ported the PUMA(multicast routing protocol) code
Hi friends,
I am implementing a buffering scheme for Mobile IP. I want to buffer
incoming packets destinated to the mobile host at a Gateway Foreign Agent
while the mobile host is making handoff. After the mobile host has moved the
new point of attachment (i.e., a regional FA), the buffered
I am Guiga Hafedh, a student in research master in network in the ISITCOM
(Institut supérieur d'Informatique et des Technologies de Communication).
I am a member of the research unit PRINCE. In Hamma Sousse/ Tunisie.
I Work in the Internet of Things (IoT) and i have a problem to implement
IPv6 IN
if you would like to implement it yourself then go ahead, i have not
tips for you since i have not been involved in anything related but it
can assure you it will take you a lot of time and energy to get this
done in NS-2 so you need to program ahead. On the other hand IPv6
implementation has
if you don't know how then it is not possible in 1 month in my humble
opinion. I don't have anyone to put you in contact with. Just offering
my friendly advice.
You can also read more about IPv6 support in NS directly from the developers :
hi:
can anybody give me some idea ,i wanna calculate the rest bandwidth of
mobile node in wireless scene.
best wishes
hi:
can anybody give me some idea ,i wanna calculate the rest bandwidth of
mobile node in wireless scene.
best wishes
14 matches
Mail list logo