Re: [ns] adding new protocol/agent

2009-04-15 Thread Gisane Michelon

you can try this link:
http://docs.google.com/gview?a=v&attid=0.1&thid=11e4900e18211c83&mt=application%2Fpdf&pli=1
-- 
Gisane



[ns] adding new protocol/agent

2009-04-14 Thread Udit Kumar

Hi Friends,

I am trying to add new protocol/agent for dummy RAM model but I am not able
to do it, I tried as per different example available on internet (
http://www.isi.edu/nsnam/ns/tutorial/nsnew.html) But still I am facing same
problem.

Please suggest me , What may be the problem

Still I am not able to find out a complete example which can show me full
running protocol in ns2.31, If anybody is having it Please help me ...

Thanks & Regards,
Udit Kumar

My ERROR Message : It seems this issue is comming from internal of the ns2 (
OR say linkage part)

can't read "debug_": no such variable
(Object set line 1)
invoked from within
"Classifier/Port set debug_"
invoked from within
"catch "$c set $var" val"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o59" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent target [[$self node] entry]"
(procedure "_o11" line 2)
(RtModule attach line 2)
invoked from within
"$m attach $agent $port"
(procedure "_o10" line 4)
(Node add-target line 4)
invoked from within
"$self add-target $agent $port"
(procedure "_o10" line 15)
(Node attach line 15)
invoked from within
"$node attach $agent"
(procedure "_o3" line 2)
(Simulator attach-agent line 2)
invoked from within
"$ns attach-agent $n0 $p0"
(file "ram.tcl" line 35)