You will need the right ethernet cables to get them electrically connected. More importantly, you need to do some work at each PC to get them talking. You'll need to deal with TCP/IP protocol which requires a unique address for each PC. You'll need to configure a network name and names for the PCs. You'll need to set up shares on each if you want to move files back and forth. What have you done so far in this regard?
Ok I am trying to create a wired network between two computers in the same room. Can I use the Dlink Des-1105 port switch to do this? it has an input port and 4 other ports to plug ethernet cables into. I tried doing this and only 1 of the computers was working.