Re: [ns] trouble with bind

2008-03-06 Thread Stankiewicz Bredkjaer
any hint anyway. Thx, Stan Arturo Servin <[EMAIL PROTECTED]> wrote: How are you setting the variables in your tcl script? It must someting like: set ag1 [new Agent/HIGH_AVAIL] $ag1 set timeOut_ 10 -as On 5 Mar 2008, at 22:05, Stankiewicz Bredkjaer wrote: > > Hello everybo

[ns] trouble with bind

2008-03-05 Thread Stankiewicz Bredkjaer
Hello everybody, i have some problems with the "bind" function when used to bind variables I've defined. i.e. I've created a new Agent called HIGH_AVAIL with 2 new integer variables, which I've binded in the constructor like this: bind("timeOut_", &timeout_); bind("warnTime_", &warntime_); af

[ns] DMAC and NAV Implementation

2008-02-26 Thread Stankiewicz Bredkjaer
Hi, I've already read the Archives, but all provided links about Directional MAC and Network Allocation Vector (NAV) don't work anymore. Therefore i would be pleased if someone could show me where to find an ns-2 implementation of the DMAC (directional-MAC) protocol, the directional antenna an