Are you hooking them up to each other directly with an ethernet cable? Because if you are you can't do it with a regular patch cable, you'd need a crossover cable.
If you're going through a router, then make sure you enable it so that computers can share and made discoverable in the Network and Sharing Centre of both these laptops.