Generating events

T.Hval th1@ukc.ac.uk
Mon, 20 Sep 1999 16:16:11 +0100 (BST)


Hello there!
I am at the moment writing  an application for ns, I have now come as far
as to looking at event generation. I need to generate events randomly, the
randomness I reckon I can sort out by using the random number generator. 
But how can I say that an event is to happend(e.g. sending a packet) in 10
or n seconds. In other words, how do I do the scheduling of events?
Can anybody help me?

Tor Hval