Difference between a switch and a hub is that a switch can handle multiple communications between the computers attached to it whereas a hub handle one at a time. If there are only two computers transmitting data across a network, a hub would perform identically to a switch. However, if more than two computers were trying to transmit across the network at the same time, the switch would perform far better.
Whereas a hub and switch serve the same function, a router serves a slightly different function. A router is explicitly designed to connect two networks together, usually a Local Area Network, or LAN (like a single small office) to a Wide Area Network, or WAN (like the Internet). A router also has additional "smart" software with security features that disallow unauthorized access to the computers in the LAN from the outside.
Difference between a switch and a hub is that a switch can handle multiple communications between the computers attached to it whereas a hub handle one at a time. If there are only two computers transmitting data across a network, a hub would perform identically to a switch. However, if more than two computers were trying to transmit across the network at the same time, the switch would perform far better.
Whereas a hub and switch serve the same function, a router serves a slightly different function. A router is explicitly designed to connect two networks together, usually a Local Area Network, or LAN (like a single small office) to a Wide Area Network, or WAN (like the Internet). A router also has additional "smart" software with security features that disallow unauthorized access to the computers in the LAN from the outside.