Re: [ns] get arrival packet time

2011-05-25 Thread Tami Nesher
But I need to do it in the TcpSink class . do you know any suitable function in C? THANKS On Wed, May 25, 2011 at 2:49 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed < teto...@yahoo.com> wrote: > you can show it through trace file > > --- On *Wed, 5/25/11, Tami Nesher * wrote: > >

[ns] get arrival packet time

2011-05-25 Thread Tami Nesher
Hi, I would like to know , how can I get the time that the first packet arrived to the tcpsink. Is there any function that do it? or something else? Thanks

[ns] tcl : create nodes Urgent

2011-05-22 Thread Tami Nesher
ndwidth sometimes? >> >> *Thank you! >> * >> >> On Tue, May 17, 2011 at 2:33 PM, мαłłi wrote: >> >>> Tami, >>> >>> What I understand you question is you have an variable, based on that you >>> need to create that much o

Re: [ns] tcl : create nodes

2011-05-17 Thread Tami Nesher
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 wrote: > >> >> Hi, >>

[ns] tcl : create nodes

2011-05-17 Thread Tami Nesher
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?

Re: [ns] tcl: read parameters form file

2011-05-17 Thread Tami Nesher
OK I found the problem. I should write: *puts* * [lindex $tcpFallowUDP 0]* Thank you. 2011/5/17 Tami Nesher > 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-a

Re: [ns] tcl: read parameters form file

2011-05-17 Thread Tami Nesher
element lets* lindex $tcpFallowUDP 0 .. lindex > $tcpFallowUDP nth* element. > > > > On 15 May 2011 13:16, Tami Nesher wrote: > >> >> Hi, thanks ! it works. >> I just want to know how to save the numbers in *two *variables, instead >> of printing them.

[ns] questions about tcl example.

2011-05-15 Thread Tami Nesher
Hi, I want to *add some users to the example* (the attached file), in order to simulate congestion in the network. I added one tcp and one udp users like this: set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] $ns duplex-link $n0 $n2 2Mb 10ms DropTail $ns duplex-link $n1 $

Re: [ns] ffmpeg installation under Linux

2011-05-15 Thread Tami Nesher
> > > On Sun, May 15, 2011 at 3:07 PM, Tami Nesher 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 called ffmpeg. >> it is righ

[ns] ffmpeg installation under Linux

2011-05-15 Thread Tami Nesher
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 called ffmpeg. it is right. I don't have it. someone can send me the file? or tell me where can I find it?

[ns] Fwd: tcl: read parameters form file

2011-05-15 Thread Tami Nesher
id lineInfo] != -1} { > regexp {.+: (\d+)} $lineInfo match one > set tcpFallowUDP [lappend tcpFallowUDP $one] > } > puts $tcpFallowUDP > > > On 8 May 2011 14:32, Tami Nesher wrote: > >> >> >> here I attached the file. I need to read the numbers in tcl

[ns] [URGENT] someone knows ? etmp4 & tcl

2011-05-08 Thread Tami Nesher
I am trying to create a video file by the command exec ./etmp4 -p -0 sd_1 rd_1 st_a01 a01.mp4 a01e in a tcl script. but, when I run it- the video files weren't created by the tcl script. When I tried to run it from the console the video files were created,but with the output "aborted" in the end

Re: [ns] tcl: read parameters form file

2011-05-08 Thread Tami Nesher
here I attached the file. I need to read the numbers in tcl. On Sun, May 8, 2011 at 1:47 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed < teto...@yahoo.com> wrote: > send the file to show and try to help you > > --- On *Sun, 5/8/11, Tami Nesher * wrote: > > > From: Tami Nesher &

[ns] tcl: read parameters form file

2011-05-08 Thread Tami Nesher
Hi, I need to read two parameters from file and save them as two variables in tcl script. the file needs look like this (for example): _: 10 _: 20 each line is one word, and I need to save the numbers. How can I do this? Thanks a lot if you have an answer.

Re: [ns] NS2& EvalVid urgent

2011-05-08 Thread Tami Nesher
e command you tried to write is wrong. > > exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e needs to be : > > exec ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e > > Good luck > > On Tue, May 3, 2011 at 11:11 AM, Tami Nesher wrote: > > > > Thanks. > > from the console

Re: [ns] NS2& EvalVid urgent

2011-05-03 Thread Tami Nesher
wrote: > is etmp4 in the same folder of the tcl script?? if you run th etmp4 > independently, i mean directly from console it runs without errors? > bye > > > 2011/5/3 Tami Nesher > >> >> Hello, thanks for the answer. >> >> I tried already to write in

Re: [ns] NS2& EvalVid urgent

2011-05-03 Thread Tami Nesher
uot; (procedure "finish" line 6) invoked from within "finish" On Sun, May 1, 2011 at 5:58 AM, fivos wrote: > yes you can run them. Check > http://www.tcl.tk/man/tcl8.5/tutorial/Tcl26.html > > On Sun, May 1, 2011 at 11:06 AM, Tami Nesher wrote:

[ns] NS2& EvalVid urgent

2011-05-01 Thread Tami Nesher
Hi, I am asking about the example in the link: http://140.116.72.80/~smallko/ns2/myevalvid2.htm I want to know if I can run the commands like ./etmp4 etc in the tcl file? I need that the correct video will be the *output* of the *tcl* file. Thanks.

[ns] Fwd: codec for evalvid

2011-03-15 Thread Tami Nesher
-- Forwarded message -- From: Tami Nesher Date: Tue, Mar 15, 2011 at 2:40 AM Subject: codec for evalvid To: ns-users@isi.edu Hi, I am trying to run an example on Evalvid, under Linux. According to the instructions of the example in the link: http://140.116.72.80/~smallko