Re: [ns] em() in wireless-phy.cc

2006-06-27 Thread Matthew Faulkner
Hi ITxaso... This funciton is defined in the wireless-phy header file... // Convenience method EnergyModel* em() { return node()->energy_model(); } Thanks Matt On Tue, 2006-06-27 at 12:06 +0200, Itxaso Pérez wrote: > Hi! > > > > I´ve been long reading the code. In wireless

Re: [ns] want information about assert() function

2006-07-10 Thread Matthew Faulkner
Assert is a method that takes an int and checks for errors If you do a quick google then you can find loads of information on it i.e. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_CRT_assert.asp On Mon, 2006-07-10 at 06:36 +0100, K.R.Sathya Prakash wrote: >

[ns] Start a simulation with a full arp table

2007-01-05 Thread Matthew Faulkner
Hey all, Maybe a simple question, but does anyone know how to start a simulation with a full ARP table such that no ARP requests or replies are needed. Thanks Matt

Re: [ns] gcc error in Ns-2.29 with setdest.h

2007-01-15 Thread Matthew Faulkner
Hey all, I'm unsure if anyone has answered this question yet but i just came across the same issue. The problem is within a bunch of files where you have, for example, the following method signature: inline void vector::operator=(const vector a) { To fix these errors you need to correct all the

Re: [ns] Calculate Collisions in Wireless ad hoc networks

2007-02-04 Thread Matthew Faulkner
Hey, Have you thought about writing a script to do this calcuation (adding up) for you? There are plenty of AWK scripts out there that give good examples. Matt On 04/02/07, Muhammad Azam Akram <[EMAIL PROTECTED]> wrote: > > Hi > i want to calculate number of collisions in trace file. somebody