udp advantage over tcp code example Example: udp and tcp full form UDP- User Datagram Protocol TCP- Transmission Control Protocol