I think you need to give an actual example of what you want to do exactly.
I gave an example how to connect 2 PC's together sending midi from one midi port on one PC to another midi port on another PC using a wired usb cable.