|If you want both to have internet access as well as connect to each other buy a router not a switch.|
If you want to connect them but no provide internet buy a switch or use Internet connection sharing with a crossover cable between the two.
Not understanding your confusion
"I have only one slot on pc to plug it in"
You only need one rj45 port. ???
How to properly post a question: http://tinyurl.com/2fsqqmu