[ns] bandwidth estimation using rtt

2012-11-06 Thread abinaya rajendhiran

hi can any help me to how to calculate available bandwidth in ns2.34 usiing
RTT and rate of returning acks

-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)


[ns] Bandwidth estimation using pathchirp tool in ns2

2012-09-27 Thread abinaya rajendhiran

hi,i am trying to estimate available bandwidth by integrating pathchirp
tool(http://www.spin.rice.edu/Software/pathChirp/) in ns2.35 but during
running make command i got the follwing error message

tools/rng.cc: In member function ‘virtual int RNG::command(int, const char*
const*)’:
tools/rng.cc:285: error: ‘RNGTest’ was not declared in this scope
tools/rng.cc:285: error: expected ‘;’ before ‘test’
tools/rng.cc:285: error: ‘test’ was not declared in this scope
make: *** [tools/rng.o] Error 1


and while running tcl script i get an following error...
invalid command name Agent/pathChirpSnd
while executing
Agent/pathChirpSnd create _o82 
invoked from within
catch $className create $o $args msg
invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
(procedure new line 3)
invoked from within
new Agent/pathChirpSnd
invoked from within
set p0 [new Agent/pathChirpSnd]
(file pathChirp.tcl line 29)

can anyone help me to debug the above errors??

-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)




-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)


[ns] Bandwidth estimation using pathchirp tool in ns2

2012-09-26 Thread abinaya rajendhiran

hi all,i am trying to estimate available bandwidth by integrating pathchirp
tool(http://www.spin.rice.edu/Software/pathChirp/) in ns2.35 but during
running make command i got the follwing error message

tools/rng.cc: In member function ‘virtual int RNG::command(int, const char*
const*)’:
tools/rng.cc:285: error: ‘RNGTest’ was not declared in this scope
tools/rng.cc:285: error: expected ‘;’ before ‘test’
tools/rng.cc:285: error: ‘test’ was not declared in this scope
make: *** [tools/rng.o] Error 1


and while running tcl script i get an following error...
invalid command name Agent/pathChirpSnd
while executing
Agent/pathChirpSnd create _o82 
invoked from within
catch $className create $o $args msg
invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
(procedure new line 3)
invoked from within
new Agent/pathChirpSnd
invoked from within
set p0 [new Agent/pathChirpSnd]
(file pathChirp.tcl line 29)

can anyone help me to debug the above errors??

-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)


[ns] Bandwidth estimation

2009-03-06 Thread Diana Benitez


Hello:

 

Do someone knows a algoritm with code to estimate the available bandwidth of a 
network by a sender?

 

 I know Tcp Westwood but have some inconveniences.

 

Thanks,

 

DIANA.

_
Windows Live™ Contacts: Organize your contact list. 
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009


[ns] Bandwidth Estimation and Allocation to ensure QoS in AODV protocol for MANETs (having no coordinator and using OFDM/OFMDA)

2008-08-08 Thread Fraz Majeed


Bandwidth Estimation and Allocation to ensure QoS in AODV protocol for MANETs 
(having no coordinator and using OFDM/OFMDA for frequency allocation, u can 
assume that input data is orthogonal.)
Please help me.
 From: [EMAIL PROTECTED] Subject: Ns-users Digest, Vol 56, Issue 6 To: 
 ns-users@ISI.EDU Date: Thu, 7 Aug 2008 17:00:28 -0700  Send Ns-users 
 mailing list submissions to ns-users@isi.edu  To subscribe or unsubscribe 
 via the World Wide Web, visit 
 http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a 
 message with subject or body 'help' to [EMAIL PROTECTED]  You can reach 
 the person managing the list at [EMAIL PROTECTED]  When replying, please 
 edit your Subject line so it is more specific than Re: Contents of Ns-users 
 digest...   Today's Topics:  1. Problem with mobility module ns-2.29 
 developed by NIST (rafi ullah) 2. TCL code for GAF (Biswa Mohan Acharya) 
 3. Re: plz help.. bash: ns command not found error (syed irfan) 4. Re: 
 ns-2.26 installation problem (Vincent Chimaobi Emeakaroha) 5. wireless mac 
 protocols pseudo-code (reza mohammadi) 6. Help regarding link layer recovery 
 ( ? ) 7. QoS routing in OFDM based ad hoc network (Fraz Majeed)   
 --  
 Message: 1 Date: Wed, 6 Aug 2008 21:56:52 -0700 (PDT) From: rafi ullah 
 [EMAIL PROTECTED] Subject: [ns] Problem with mobility module ns-2.29 
 developed by NIST To: ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] 
 Content-Type: text/plain; charset=us-ascii  In case of Horizontal or 
 Vertical Handover it gives a throughput exactly what i am going to transmit. 
  i.e at WLAN i receive a throughput of 80 Mbps exactly that i am going to 
 transmit. which is impossible in real because WLAN does not support a 
 throughput of 80 Mbps. It also happen with UMTS and WiMAX also.  Is it a 
 problem of a Module ns-2.29 or any thing else.  Please any body help me.  
 Thanks.   --  Message: 2 Date: Thu, 
 7 Aug 2008 10:46:20 +0530 From: Biswa Mohan Acharya [EMAIL PROTECTED] 
 Subject: [ns] TCL code for GAF To: ns-users@ISI.EDU Message-ID: [EMAIL 
 PROTECTED] Content-Type: text/plain; charset=ISO-8859-1  Dear friends 
 Any one having the tcl files for GAF protocol please send me so that I can 
 proceed with the simulation. The ns package has gaf.h amp; gaf.cc files. 
 But to start the simulation I think the tcl scripts are required. If any one 
 have any other suggestion for starting the simulation for GAF, kindly let me 
 know. Regards Biswa   --  Message: 3 
 Date: Thu, 7 Aug 2008 08:24:24 +0100 From: syed irfan [EMAIL PROTECTED] 
 Subject: Re: [ns] plz help.. bash: ns command not found error To: 
 ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; 
 charset=ISO-8859-1  On Wed, Aug 6, 2008 at 4:18 PM, syed irfan [EMAIL 
 PROTECTED] wrote:   hi   i installed ns-allinone-2.33 on windiws 
 vista using cygwin.the installation  did go through perfectly.But when i 
 try to run any tcl script it gives the  following error.   bash: ns 
 command not found   i m relatively new to this and would be greatful to 
 anyone who can help  solve this.  Thanks
 --  Message: 4 Date: Thu, 7 Aug 2008 11:15:43 
 +0200 From: Vincent Chimaobi Emeakaroha [EMAIL PROTECTED] Subject: Re: 
 [ns] ns-2.26 installation problem To: ns-users@ISI.EDU Message-ID: [EMAIL 
 PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed   
 look it up in google. There are many helps how to install ns2 in  ubuntu! I 
 hope you did configure and make for Tcl and Tk components  first!  
 cheers!  Zitat von Iyad Tumar [EMAIL PROTECTED]:Dear all,   
 i am in need to install ns-2.26 and i am trying to install ns-2.26 on  
 ubuntu and i got the following error.   n file included from tclcl.h:48, 
  from Tcl.cc:47:  tclcl-mappings.h: In static member function ?static int 
  TclObjectHelperT::dispatch_(void*, Tcl_Interp*, int, char**)?:  
 tclcl-mappings.h:51: error: incomplete type ?Tcl? used in nested name  
 specifier  tclcl-mappings.h:52: error: invalid use of incomplete type 
 ?struct Tcl?  tclcl-mappings.h:41: error: forward declaration of ?struct 
 Tcl?  tclcl-mappings.h:57: error: invalid use of incomplete type ?struct 
 Tcl?  tclcl-mappings.h:41: error: forward declaration of ?struct Tcl?  
 make: *** [Tcl.o] Error 1  tclcl-1.0b13 make failed! Exiting ...  See 
 http://www.isi.edu/nsnam/ns/ns-problems.html for problems  [EMAIL 
 PROTECTED]:/usr/local/dload/ns-allinone-2.26$ any help please  
 Best  Iyad   ---- 
  Message: 5 Date: Thu, 7 Aug 2008 05:54:13 -0700 (PDT) From: reza 
 mohammadi [EMAIL PROTECTED] Subject: [ns] wireless mac protocols 
 pseudo-code To: ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] 
 Content-Type: text/plain; charset=us-ascii  hello any body have wireless 
 mac protocols pseudo-code? or can recommendation to 

[ns] bandwidth estimation

2008-02-13 Thread neeraj gupta

  
hi all

  how do we calculate the bandwidth requirement of the application . also where 
in mac layer is bandwidth calculated , self and one hop neighbors.
how can we manipulate the algorithm in ns .

Neeraj

Neeraj


[ns] bandwidth estimation

2007-05-08 Thread mberroua

hello,
please, can some one tell me what is the procedure to compute bandwidth
when we have UDP connection.

for TCP connection  the procedure is
proc bandwidth1 {} {
  global ns bpf1 sink
  set time 0.5
   # How many bytes have been received
   # by the traffic sinks?
 set bw_ [$sink set bytes_]

 set now [$ns now]
   # Calculate the bandwidth (in MBit/s)
   # and write it to the files
 puts $bpf1 $now [expr $bw_/$time*8/100]
# Reset the bytes_ values on the traffic sinks
$sink set bytes_ 0
  $ns at [expr $now+$time] bandwidth1
}

J tried to change l agent SINK by NULL but It does not walk.

Thank you has the advance

mous