Presuming you are using Windows XP, I used this link, from Microsoft which helped me with my connection. Works perfectly for me. Its a step by step guide on how to set up a network without a router.
http://www.microsoft.com/windowsxp/using/networki...man_02april08.mspx