Hello Everybody

Kindly Help me ..... I will be greatful to you 

I have created four TCP source Nodes and Four TCP Sink nodes
in the middle of them there is One node and all the source nodes and
 sink nodes are connected to them. 

this middle node help in routing 

Each and every source node is connected with each and every sink node

Problem is that when I use the given command 

for {set i 1} {$i < 5} {incr i} {
    for {set j 5} {$j < 9} {incr j} {
        $ns connect $tcp($i) $sink($j)
    }
}

it only connect the last source node to the last sink node.......... 

But I want to connect each and every souce node to each and every sink
 node ......

How is it possible ?

Kindly Help me ......... 
I will be waiting for your reply


Engr. Mahmood Qureshi
HEC Scholar
Graduate Student: Computer Engineering
Myongji University, South-Korea
San 38-2
Nam-Dong
Yong-in
Gyunggi-Do (449-728)
South Korea
Mobile No. : +82-10-2891-7096
        

Reply via email to