If you only have two computers in your network, you can avoid hubs and switches simply by using a crossover cable like this one. The crossover cable links the network card in one machine directly to the network card in the other machine. However, it cannot be used to link a computer to a hub or switch. To differentiate the two types of UTP cables, Sandberg crossover cables are blue.
Sandberg Network Cable UTP CROSS 1 m
Sandberg Network Cable UTP CROSS 1 m. Cable length: 39.4" (1 m), Color of product: Blue. Package width: 3.54" (90 mm), Package depth: 0.984" (25 mm), Package height: 8.07" (205 mm). Cable type: UTP, Connector(s): RJ-45