[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Serializing TCP Communications



I would like to simulate a collection of nodes that each have a 
list of communications to perform.

A given node may have a list of tasks as follows:
- Send n packets to node i
- Send m packets to node j
- Send p packets to node k

I need to tell the node to start it's communication and have it
proceed with the communications serially. Only when the first task is 
completed, can it begin the next task. In other words, the node MUST wait 
until all communication has been completed before moving on 
(that is, ACKs must be received before starting the new task). 

Is there a why that this can be implemented in a tcl script so that
multiple nodes can serialize their tasks?

Thank you,

Chad