[ns] how to add actual execution time in delay?

2009-06-02 Thread Abhijeet Mirikar

Hello All,
 whenever a packet is transmitted on a link, it gets delayed by only the
delay specified for that link. But if some extra processing is done while
transmitting (say AES encryption) packet, actual execution time of the
processing is not added in the delay. What can be done for getting actual
delay as delay of link + actual execution time required for processing?

   regards,

Abhijeet Mirikar


[ns] Fwd: Linking C++ and OTcl

2009-05-07 Thread Abhijeet Mirikar

 ns-users@ISI.EDUHello All,

   I am trying for linking C++ and OTcl. I have defined a HerAgent class as
subclass of Agent class. I am trying to link it with parallel OTcl class as
Agent/HerAgentOTcl. But I get following error whrn I followed all the
procedure and tried to run a script trying to create object instance of type
Agent.HerAgentOtcl,

invalid command name Agent/HerAgentOtcl
   while executing
Agent/HerAgentOtcl create _o3 
   invoked from within
catch $className create $o $args msg
   invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
   (procedure new line 3)
   invoked from within
new Agent/HerAgentOtcl
   invoked from within
set h1 [new Agent/HerAgentOtcl]
   (file HerAgent.tcl line 1)

  Can anyone help me please?


regards,

Abhijeet Mirikar


[ns] Running c++ code in NS

2009-03-01 Thread Abhijeet Mirikar

Dear all,
   I want to run my C++ code in NS. How it can be done?
   Please help.

Regards,
Abhijeet Mirikar


[ns] join-group method

2009-01-26 Thread Abhijeet Mirikar

Where can I find definition of join-group method?