ByteDance Interview Question

Asked about TCP and UDP