If both Pc's have a Network/LAN card these days on a laptop or PC they will be built in.
Simple Ethernet cable from one to the other.
In XP goto network connections run the network setup wizard to share files and folders on both machines.
Might have to restart each machine once the setup is done.