Re: [ns] data payload in packet

2010-07-24 Thread Guray Acar
avinash chaurasia wrote: hi all, Does tcp packet in wireless have data in payload as whenever i tried to print it using if((PacketData*)p-userdata()! =NULL) { PacketData* packdata = (PacketData*)p-userdata(); unsigned char* pdata = (unsigned

Re: [ns] where is attach-agent ??

2010-07-22 Thread Guray Acar
ns-lib.tcl Simulator instproc attach-agent El hadi Cherkaoui wrote: Dear all, I want to know where I can find the command : attach-agent (in which file of NS) Same question for attach-vectorbasedforward. this the tcl code :     set a_($i) [new Agent/UWSink]     $ns_

Re: [ns] code for encryption algorithm in wsn

2010-07-22 Thread Guray Acar
Maumita Chatterjee wrote: hi a,   do anyone of you have any code for any kind of encryption algorithm? please reply me if u have this... thank u... I think you're fishing in the wrong river. ns2 is a packet-level simulator. It

Re: [ns] Ns-users Digest, Vol 71, Issue 9

2009-11-09 Thread Guray Acar
-- Message: 1 Date: Mon, 9 Nov 2009 10:25:46 +0800 (CST) From: galaxy-huang galaxy-hu...@163.com Subject: [ns] Is it necessary to remove the unused packet headers? To: ns ns-users@ISI.EDU Message-ID:

[ns] ns 2,29 mobility module installation problem

2009-10-31 Thread Guray Acar
to the changes in gcc version 4.3.0, which Ubuntu is probably is using. Either change to ns-2.34, or read below. Guray Acar wrote: Greetings all. This is not a question. Recently, we changed our OS to Fedora Core 9. The C++ compiler that came with it was gcc version 4.3.0. I had some problems

[ns] ns-2.33 with gcc version 4.3.0 in Fedora Core 9

2009-07-15 Thread Guray Acar
Dr Guray ACAR Centre for Communication Systems Research (CCSR), University of Surrey, Guildford, Surrey, GU2 7XH, United Kingdom. Tel.: +44-1483-689123 Fax: +44-1483-686011 http://www.ee.surrey.ac.uk/ccsr