bergie/noflo — pull request #41 by kenhkan (2012-08-19 15:05:44+00:00)
Title: Make sure IPs are only sent once when sending to ArrayPort on a subgraph

When sending to a subgraph, the same IP is sent to the subgraph the same number of times as how many processes are attached to an open ArrayPort. Something like:

subgraph.fbp:
```
Merge(Merge) OUT -> IN Output(Output)
```

main_graph.fbp:
```
'subgraph.fbp' -> IN Graph(Graph)
'a' -> MERGE.IN Graph()
'b' -> MERGE.IN Graph()
'c' -> MERGE.IN Graph()
```

The above should print:
```
a
b
b
c
c
c
```

This seems to be due to using ArrayPort-to-ArrayPort attachment to make a link between the graph and the subgraph. Sending the IP only to the first socket solves the problem as all the sockets point to the same process in the subgraph anyway.