I change the line* puts $tcpFallowUDP* to *puts* * lindex $tcpFallowUDP 0 *in
order to print the first argument in the list
and I got this error:*
*
~/ns-allinone-2.34/ns-2.34/v1/input$ ns input02.tcl
bad argument 0: should be nonewline
while executing
puts lindex $tcpFallowUDP 0
(file
OK I found the problem. I should write: *puts* * [lindex $tcpFallowUDP 0]*
Thank you.
2011/5/17 Tami Nesher vessely...@gmail.com
I change the line* puts $tcpFallowUDP* to *puts* * lindex $tcpFallowUDP 0
*in order to print the first argument in the list
and I got this error:*
*
Hi,
How can I create nodes according to a variable number?
I mean : I have a variable that contains the number of nodes that I need to
create. How can I do it?
yes Tami, the square brackets are used to variable substitution, similar to
= sign.
2011/5/17 Tami Nesher vessely...@gmail.com
OK I found the problem. I should write: *puts* * [lindex $tcpFallowUDP 0]*
Thank you.
2011/5/17 Tami Nesher vessely...@gmail.com
I change the line* puts
Tami,
What I understand you question is you have an variable, based on that you
need to create that much of users?
Ex. set s 10
for {set i 0} {$i 10} {incr i} {
set n$i [$ns node]
}
On 17 May 2011 15:43, Tami Nesher vessely...@gmail.com wrote:
Hi,
How can I create nodes according
Tami,
http://ubuntuforums.org/showthread.php?t=786095
go though this link i hope that will help,
On 15 May 2011 18:37, Tami Nesher vessely...@gmail.com wrote:
Hi,
I need to install ffmpeg on Ubuntu in order to do this: ./ffmpeg -i
a01e.mp4
a01e.yuv
I got the error that there is no file
Thank you for all answers.
1. Did you mean to write like this?(with s)
set s 10
for {set i 0} {$i *$s*} {incr i} {
set n$i [$ns node]
2. I want also to create* links* between the nodes, to *attach agents(tcp
or udp)* and *start them*.
I need to do everey thing in the same way, with
Hi
I'm trying to integrate the IEEE 802.11p package developed by sherbrook
university .
please could any body help me?
I get the following error when I do: make
--
In
Dear Aquila,
Following are the parameters you need to set to simulate Original RED (1993
paper by S. Floyd and Van Jacobson):
Queue/RED set thresh_ 5
Queue/RED set maxthresh_ 15
Queue/RED set q_weight_ 0.001
Queue/RED set bytes_ false
Queue/RED set queue_in_bytes_ false
Queue/RED set gentle_
Hello,
Please see the link below. It explains how to obtain a node position as well as
energy.
http://elmurod.net/?p=348
Hope it helps.
Regards,
Mohit P. Tahiliani
[Submission deadline is extended to 31 May]
[Please accept our apologies if you received multiple copies of this call]
[Call for Papers]
--
CPSCom 2011
Hi everybody,
I'm trying to implement a geocast protocol for manets. I need to send traffic
for a geographic region.
I mean, I'd like to do this:
set cbr_(0) [new Application/Traffic/CBR]
$cbr_(0) set packetSize_ 512
$cbr_(0) set interval_ 0.1
$cbr_(0) set random_ 2112
$cbr_(0)
12 matches
Mail list logo