A hub, in its most basic form, simply repeats the incoming signal to all ports and does no processing.

A switch is a type of hub which reads the incoming packets and determined the appropriate port to forward the packet to without bothering the other ports.
_________________________
-- Murray I What part of 'no' don't you understand? Is it the 'N', or the 'Zero'?