[ns] kindly help me

2007-02-15 Thread sachin dahiya
  i m trying to implement selective tcp in ns. my ns2 ver is ns-2.29 on cygwin.the procedure for ns 2.27 on linux is gven by the crator of this code as follows: To run Selective-TCP: 1. Copy the following files in the ~ns-allinone/ns2.27/tcp/ tcp-newreno.cc tcp.h tcp-s

[ns] Segmentation Fault

2007-02-15 Thread N a d e s h
Hi all When i constructed a base station with 3 mobile station based on hierarchical addressing ; it is throwing segmentation fault.. have any one come across this problem.please guide me to construct a cellular network model... Thanks and Regards Nadesh Anna University _

[ns] Reg: DEACTIVATE A NODE IN WIRELESS SCENARIO

2007-02-15 Thread Dheeraj
Can any one tell me how to deactivate a node in a wireless Scenario. I have created a Scenario having 50 Node after a certain duration i wanted to remove few Nodes i.e to DEACTIVATE few nodes. I have seen how a Node can be DEACTIVATED for a WIRED Scenario, but how can i get it for Wireless Sce

[ns] DIRECTED DIFFUSION TO CREATE ADDITIONAL PATH????

2007-02-15 Thread antonis antoniou
Dear all, i read in paper that saying directed diffussion in wireless netwotk can be used to create additional paths. Can anyone help me how to do it??? Please is urgent Any help will be really appreciated THANKS

[ns] connect two diferents C++ objects

2007-02-15 Thread juan manuel gomez garcia
Hi ns-users: I'm running a simple tcl script with AODV and mac 802_11 with wireless nodes. I know that I create a AODV object in the AODV code with: static class AODVclass : public TclClass { public: AODVclass() : TclClass("Agent/AODV") {} TclObject* create(int argc, const char*

Re: [ns] NAM problem in Cygwin

2007-02-15 Thread Dr. Mohamed Ben Othman
Hi, Try to run nam under xterm session. To do this run startx first and then xterm. I hope this will help you. Cheers. Mohamed Ben Othman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaili Desai Sent: Thursday, February 15, 2007 10:33 AM To: ns-users

Re: [ns] problem getting in defining variable

2007-02-15 Thread Dr. Mohamed Ben Othman
Hi, Your script is working fine but it seems that you forgot to put your options in the command line. Try this and it will give you what you want: ns yourfile.tcl duration=10 numnodes=5 outdir=yourdir cheers. Mohamed ben othman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

[ns] NAM problem in Cygwin

2007-02-15 Thread Shaili Desai
Hello all In one of the cygwin environments with NS2, following is the error even after setting path environments correctly.nam executable does exist but for the display it gives the following error: [EMAIL PROTECTED] nam-1.11]$ ./nam nam: no display name and no $DISPLAY environment variable [EM

[ns] problem getting in defining variable

2007-02-15 Thread harpreet
  hi i am using these codes for my program foreach argument $argv { scan $argument "duration=%d" duration scan $argument "numnodes=%d" num_nodes scan $argument "outdir=%s" out_dir } # Define options set opt(chan)Channel/FddChannel;# channel type set opt(prop)Propagatio

Re: [ns] How to implement my own protocol?

2007-02-15 Thread juan manuel gomez garcia
Hi Mallesh: This is a very good thing to read: http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf I hope I help you. >From: "Mallesh, Kavuluri (IE10)" <[EMAIL PROTECTED]> >To: >Subject: [ns] How to implement my own protocol? >Date: Thu, 15 Feb 2007 17:06:29 +0530 > > >Hai , > > > >

[ns] nam installation problem

2007-02-15 Thread Ritesh Srivastav
i sucssesfully installed ns-2.30 -allinone . but it said install nam separetly because of error. when i tried to install separetly, it is still giving error as X11/Xmu?WinUtil.h file/directory not found. xwd.c:87:30: error: X11/Xmu/WinUtil.h: No such file or directory make: *** [xwd.o] Error 1 c

[ns] How to implement my own protocol?

2007-02-15 Thread Mallesh, Kavuluri \(IE10\)
Hai , Actually I want to override a existing node class or any class in ns and do some simple manipulation. Later I want to try my own protocol. Can any one help me in overriding any class in ns? =20 -regards, Mallesh

Re: [ns] Ns-users Digest, Vol 38, Issue 10

2007-02-15 Thread Mallesh, Kavuluri \(IE10\)
Hai, I want to implement my own protocol. For this I need to know how to over load a existing class. Can any of you give reference from which I can find some new protocol implementation? -regards Mallesh

Re: [ns] I can i change the transmission range?

2007-02-15 Thread ?e Olbert
These are the two places I changed. Depending on your simulation, perhaps you dont need to change both. 1 In your tcl script: ... set val(netif) Phy/WirelessPhy ;# network interface type ... Phy/WirelessPhy set RXThresh_ 8.91754e-10 ;#range 200m ... $ns node-config -phyType $

[ns] Implementation ATCP & TCP-ELFN

2007-02-15 Thread Satish B
Hii everyone, presently I am working on project on ad hoc networks. In this project I am comparing  the my results with that of ATCP(Adhoc Transport Control Protocol)and with TCP-ELFN.If anyone knows about the implementation of these two protocols let me know about this so that I an directly u

[ns] I can i change the transmission range?

2007-02-15 Thread ma201jgk
I can i change the transmission range? its default is 250m. i want to change this to 200m please help me .

Re: [ns] Is FTP traffic over TCP connection uses always the same route?

2007-02-15 Thread Dr. Mohamed Ben Othman
Hi, Thank you all for your answers. Some asked me which protocol I am using. I am using the default protocol (IP). But what I still not sure about is that: in the reality (in the field) is data has to pass through the same path (route) from src to dst because TCP is a connection oriented proto