46.1.2.0.2 Inserting a Loss Module

A loss module can only be inserted after the corresponding receiver has joined the group. The example code below illustrates how a simulation script can introduce a loss module.
        set sessionhelper [$ns create-session $node $src] # keep a handle to the loss module;
        $ns at 0.1 "$sessionhelper insert-depended-loss $loss_module $rcvr"



Tom Henderson 2014-12-17