The conventional way to network two computers involves making a dedicated link by plugging one cable into the two systems. You may need an Ethernet crossover cable, a null modem serial cable or parallel peripheral cable, or special-purpose USB cables.
The Ethernet method is the preferred choice because it supports a reliable, high-speed connection with minimal configuration required. Also, Ethernet technology offers the most general-purpose solution, allowing networks with more than two computers to be built later.
If one of your computers possesses an Ethernet adapter, but the other has a USB, an Ethernet crossover cable can be used by first plugging a USB-to-Ethernet converter unit into the computer’s USB port.