Re: [ns] XOR Tcl program required...

2011-05-08 Thread мαłłi
> But i dont need any space between them.. > The output should like msg1.. no space in between 1s and 0s... > Waiting for ur reply... > > > > > > > > > On Mon, May 9, 2011 at 10:26 AM, мαłłi wrote: > >> yes yugesh, >> >> ^ operator is used of

Re: [ns] tcl: read parameters form file

2011-05-09 Thread мαłłi
Nesher, here the code, please let me know if i did any mistake set fid [open input.txt r] while {[gets $fid 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

Re: [ns] Fw: ns2 installation error

2011-05-09 Thread мαłłi
Ehsan, I think you try to give execution permission nam, try to change chmod +x to nam (find location of nam) On 8 May 2011 15:26, Ehsan Chaudhary wrote: > > > > > > - Forwarded Message > From: Ehsan Chaudhary > To: ns-users@isi.edu > Sent: Sunday, May 8, 2011 12:19:11 > Subject: ns2

Re: [ns] tcl: read parameters form file

2011-05-17 Thread мαłłi
xecuting >> "puts lindex $tcpFallowUDP 0" >> (file "input02.tcl" line 6) >> >> Why? >> >> >> >> On Mon, May 16, 2011 at 12:01 AM, мαłłi wrote: >> >>> Nesher, >>> >>> It's already stored in

Re: [ns] tcl : create nodes

2011-05-17 Thread мαłłi
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 wrote: > > Hi, > How can I create nodes according to a variable nu

Re: [ns] ffmpeg installation under Linux

2011-05-17 Thread мαłłi
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 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.

Re: [ns] tcl : create nodes

2011-05-19 Thread мαłłi
Is it right to write like this?? and what can I do if I want to change > the bandwidth 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 th

Re: [ns] debugging in ns-2.34

2011-08-01 Thread мαłłi
http://www.isi.edu/nsnam/ns/ns-debugging.html On 1 August 2011 14:07, shwta jain wrote: > > Hi all, > > I want to debug ns-2 code(.cc files) in ns2. > > What is the procedure. > > Plz help me. > > > > Regards, > > Shweta Jain, > > > > -- Thanks, The box said "Requires Windows 95, NT, or be