[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Creating a new sendpkt routine
> I wanted to make a function by which I could bypass the send routine of
> ns, and send packets to whoever my agent wants without depending upon
> explicit "connect"s in the tcl file. For this I simply copied from
> rtProtoLS (linkstate) 's sendpkt routine which just overwrites the "dst_"
> field and then calls target_->recv(p).
You can send to whosoever your agent wants. Do you need to change the
sendpacket routine ?
Cheers
Debo