Re: [ns] Wait for a packet

2013-01-24 Thread Rafael P B Mota
Hello Natalya, Where can I get this information ? What file should I read ? Em 24/01/2013 13:31, "Natalya Rozhnova" escreveu: > Hi Rafael, > > Timers are your best friends in this case. ;) You can do this by analizing > how a TCP retransmission timer works. > > Natalya > > 24.01.2013, 23:25, "Ra

[ns] Wait for a packet

2013-01-24 Thread Rafael P B Mota
Hello users, Does sombody know how to can I make a node wait for a reply from another node ? For example: Node 1 sends a packet do Node 2. Node 1 can wait 0.5 seconds (for the reply) before try another request again. If node 2 sends a reply do Node 1, that's ok. Else , Node 1 after 0.5 seconds