How do you connect two visualboy advance?

It is possible to connect two Visualboy Advance emulators, which allows you to trade with yourself. To do this you should look online for detailed instructions as it is complicated.