AMD Interview Question

How hash works? Difference between udp and tcp