[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] New Agent
Greetings,
I created a new agent derived from the class Agent. I also created a
new packet header to be used by this agent. I made the proper changes in
tcl/lib/ns-default.tcl, packet.h and so forth. When I run the
simulations, the agent gets attached properly, however when the agent
tries to send a packet it fails because it can not find an entry in the
hash table to send the packet to. I get the following runtime error:
o_11: no target for slot -1
Does anyone have an idea on what the problem could be. Any help is much
appreciated.
--
===================================================================+
Moncef Elaoud | Office: MCC 1C-254B |
Research Scientist | 445 South Street |
Computer Communication Research | Morristown, NJ 07960|
Telcordia Technologies | Phone: 973-829-2985 |
email: [email protected] | Fax: 973-829-5888 |
===================================================================+
begin:vcard
n:Elaoud;Moncef
tel;fax:973-829-5888
tel;home:973-983-8630
tel;work:973-829-2985
x-mozilla-html:FALSE
org:Applied Research;Computer Networking
adr:;;445 South Street MCC-1c-254B;Morristwon;NJ;07960;USA
version:2.1
email;internet:[email protected]
title:Research Scientist
fn:Moncef Elaoud
end:vcard