On Mon, 28 Apr 2008 09:31:50 +0100 (GMT+01:00), Marco Fiore
[EMAIL PROTECTED] wrote:
Basically, it's all
about defining an Application Data Unit (ADU) containing all the
desired data, to be attached to the basic packet.
Mhh, looks like my advice to extend the Packet structure, enriched with
number via the shell $((RANDOM))
and pass the number as an argument to the TCL script.
ns your-scenario.tcl $((RANDOM))
and in you tcl script (your-scenario.tcl) you can get the argument via
set rand_number [lindex $argv 0]
thanks!
You are welcome!
Hagen
--
Hagen Paul Pfeifer [EMAIL PROTECTED
* Sidney Doria | 2008-04-23 13:05:59 [-0300]:
We know that NS-2 Transport API to Application layer does not provide
a payload transfer.
In NS, Transport only tells to the application: hey, a packet with
nbytes has arrived. But no data is transfered to the app.
I'm using UDP and I need the
* Sidney Doria | 2008-04-25 15:31:39 [-0300]:
Herr Hagen Pfeifer,
;)
NS2 is not easy to novice. It's normal that novice people be confusing
with some questions and concepts, even network concepts. After months
same people that have asked a foo question are now secure, with strong
skills
this into account?
HGN
--
Hagen Paul Pfeifer [EMAIL PROTECTED] || http://jauu.net/
Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is.
* brahmiNadia | 2008-04-23 03:22:40 [-0700]:
Hi,
I need to get mobile nodes direction and the speed in C++
do anyone has an idea about that? I'm not sure if the node in ns2 can know
its direction and speed at any time
It is up to you to specify the mobility model to pretend the speed,
* rashmi bhat | 2008-04-14 12:43:38 [+0530]:
Does anybody know how to store data in a node? I want a node which, sort of,
acts like a bank. It stores information about nodes in that network some
temporary information critical to passing messages in the network. This
means that this node
, Hagen
--
Hagen Paul Pfeifer [EMAIL PROTECTED] || http://jauu.net/
Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is.
and the patch magically disappear ... ;)
http://jauu.net/var/misc/exchange/um-olsr-current-ns2.33-rc4.patch
Hagen
--
Hagen Paul Pfeifer [EMAIL PROTECTED] || http://jauu.net/
Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is.