In small networks a HUB may be enough but when it's more then say 5 machines then a switch would better, network traffic goes smoother and there are less collisions so less resetting.