connect two computers using LAN windows xp and wondows 7

How to connect two computers using LAN ?

Step 1 .

For windows XP users :

Start ->CONTROL PANNEL ->Network Connections

see  Local Area Network icon and right click and select properties

go on  Internet protocol (TCP/IP) and click on properties button.

Set IP address for both the computers. 
Remember they must be unique for both of them.

eg if you choose "" for your first computer

Then choose "" for other computer.

Below the IP Address there is box called Subnet Mask,
put in it and click ok.

Follow same steps for other computer

Windows 7 :

Start -->Control Panel -> Network and Internet-->Network and Sharing Centre

Click on Change Adapter Settings