which port use both tcp and udp code example Example: udp and tcp full form UDP- User Datagram Protocol TCP- Transmission Control Protocol