[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] New Agent
Hi Moncef.
It is possible that you have tried to reach an entry of your hash table which is out of bounds of the hash table (slot -1).
Nice day have you:)
> On Wed, 1 Nov 2000, Moncef Elaoud wrote:
>
> > 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 |
> > ===================================================================
>
>
Yakup Balka�
Bilgisayar M�hendisi
Bilkent �niversitesi Elektrik-Elektronik M�h