Transmitting data with UDP consists of setting up a UDP data transfer between two hosts, PC1 and PC2.