The socket matching and snapping is always one to one. There is no special handling for two sockets on one face, the plugin will just pick the closest matching pair: one on the green brick and one on the black one, then use that pair to make calculations. So all the options on your schema will work. You need to give compatible names to those sockets, like Brick_0, Brick_1, etc. and they will snap together like you expect.