Re: [ns] How to work in eclipse for NS-2 new protocol.

2008-05-08 Thread Nivia Q.
Hi, Salih, If you are working with eclipse under linux this may help: At Makefile.in, edit the line where is "CFLAGS+= $(CCOPT) $(DEFINE) " and change to "CFLAGS+= -g $(CCOPT) $(DEFINE) " after that, type "./configure" , "make clean" and "make" under your ns-x.xx directory After that,

Re: [ns] Underwater Channel in basic NS2

2008-05-08 Thread Nicola Baldo
Hi Dewald, Dewald Nolte wrote: > In ns-miracle the documentation claims that the underwater channel > works and that some basic MACs are provided, but in one of the mails > in the mailing list I read that some of the routing protocols are not > yet supported? Basically the underwater-miracle

[ns] can't send pkt (unicast/broadcast) - MANET ns2.30

2008-05-08 Thread levy david
Hello ns-suers, i can't send unicast or broadcast packets, I try several solutions, but no one works! 1- the code for unicast (sendUnicast(destination)) Packet* pkt = allocpkt(); hdr_cmn* hdrcmn = hdr_cmn::access(pkt); hdr_ip* iphdr = hdr_ip::access(pkt); hdr_monitor* hdrret

[ns] Web traffic in wireless environment

2008-05-08 Thread Jorge Lanza
Hi all, I want to perform a simulation of a kind of XML RPC traffic. As this traffic is usually carried over HTTP in order to make the first tests I want to use any kind of web traffic envionment. I have tried with webcache over a wireless environment and the packets doesn't go out of the node (

[ns] how to implement movement for groups of nodes in ns

2008-05-08 Thread pejman
- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[ns] generate CMPP traffic

2008-05-08 Thread jazia jaballah
Hello, I have tried to generate CMPP traffic in NS by adding a class CMPP_Traffic analogous to Poisson_Traffic . I have made those additions: 1.~ns/tcl/lib/ns-default.tcl : here i have given default values for all the parameters 2.~ns/tcl/lib/ns-source.tcl : here i have first declare my