Amazon interview question

explain difference between tcp and udp, proxy server, etc