[ns] How to build my own packet

2008-03-11 Thread Mahmood Qureshi
I m new in NS-2 I studied NS-manual but did not get the point. I installed NS-2 on Linux (Fedora 5) and working efficiently Even I implemented an example of OTCL Linkage Now I want to build my own packet with each and everything is defined by me i.e. of GOOSE Packet but have no idea how to

Re: [ns] How to build my own packet

2008-03-11 Thread Ahmad Osman
Mahmoud, I think great tutorial about implementing a new protocol using ns2 is attached at the mail, Hope it answers ur question. Ahmad Date: Mon, 10 Mar 2008 23:20:22 -0700 From: [EMAIL PROTECTED] To: ns-users@ISI.EDU Subject: [ns] How to build my own packet I m new in NS-2 I

[ns] reg TCP

2008-03-11 Thread gananthi
Hi all How to initiate data rate and no of packets from one node to another in wireless sensor network? and use tcp protocol for transmission. if possible,kindly reply me. ananthi - This email was sent using TCEMail Service. Thiagarajar College of

[ns] One-hop broadcast

2008-03-11 Thread GEORGIOS KIOUMOURTZIS
I suggest you check the following link. they have implemented broadcast.. you will need to restrict it in only in one hop broadcast.. read the code http://www.sce.carleton.ca/wmc/code.html br -- Georgios Kioumourtzis,MSc Computer Engineering and Informatics Department University of Patras,

[ns] DSR trace file help

2008-03-11 Thread vighnesh lall
Hello Friends ... Can someone please help me with the counting of DSR packets sent by the source nodes and no of packets received by the destination nodes in DSR trace file ... -- Vighnesh Lall

[ns] changing PF

2008-03-11 Thread Basim Javed
hello could some body help me. I am running the code: set q [new Queue/DTail/PriQ] $q set Prio 0 PF 2 puts one [$q set Prio] puts two [$q set Prio 0 PF_] and expect the output of two to be: two 2, but it gives 0. could u plz point out where I am doing the mistake? thanks many b

[ns] make: *** No rule to make target `gen/version.o', needed by `ns'. Stop.

2008-03-11 Thread NS
Hi has anyone got any ideas? im stuck on the makefile on a new box This is the last bit any ideas please? g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4

Re: [ns] make: *** No rule to make target `gen/version.o', needed by `ns'. Stop.

2008-03-11 Thread Nur Aini Rakhmawati
I found this problem before http://nuraini.net/2007/09/14/make-no-rule-to-make-target/ - Original Message From: NS [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, March 12, 2008 12:08:25 AM Subject: [ns] make: *** No rule to make target `gen/version.o', needed by `ns'. Stop.

[ns] /bin/sh: line 1: /Users/student3/ns/bin/tclsh8.4: cannot execute binary file

2008-03-11 Thread NS
Hi anyone got any ideas, I have tried a make clean and a ./configure and still it produces the same error: g++ -c -fno-common -fPIC -pipe -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4

[ns] about usage fo thorughput.awk file

2008-03-11 Thread shweta s k
- Forwarded Message From: shweta s k [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, March 12, 2008 9:07:35 AM Subject: hi tell me usage of throughput.awk for any trace file.usually we are use the command to run awk file as follows awk -f the awkfilename