
Indeed, all you need is to configure the serial port of each VM as described next. (ii) VMs on different computers connected via a network. Fig1: Connecting the serial ports of two VMs. The difference is that instead of using pipes to interconnect the two VMs, which allow communication only between processes on the same computer, you use TCP sockets, which allow the communication between processes (the VMs) on different computers. Actually, it is very similar to the solution described for the communication between VMs running on the same computer. With VirtualBox 5.0.x the solution is quite simple. Otherwise, running two VMs on the same PC will not work. If in the multi-user version application you plan to develop, users can take turns, this is not so problematic. It turns out that you can have the focus on only one VM, therefore you cannot generate input events to one VM, while the focus is on the other. This is because you usually need both instances of your application to respond to input from either the keyboard or the mouse. Indeed, most of you are developing games and it is not enough to connect two VMs on the same PC. This setup is useful for virtually all projects that use the serial port. This note is about how to set up an environment that allows communication between two virtual machines (VM) running on different computers via the virtual serial ports. Project: Serial Communication between VMs on different Computers LCOM - Project: Serial Communication Between PCs Computer Labs
