Two Ways
one way: using crossover cable (RJ45 cate 5) if they both have their own network cards.I did this way. It works great.
The other way: using cable connecting two parralell ports in two computers directly, go to online to search for the cable for connecting PC to PC directly. Good luck