Barclays interview question

How would you establish a connection between two processes