Advanced Java Programming20815 marksUDP socket programming steps
Write the steps of writing socket program using UDP.
Write the steps of writing socket program using UDP. [5]
UDP (User Datagram Protocol) is a connectionless, unreliable transport layer protocol. The following are the steps to write a UDP socket program: 1. Create a socket - Use socket() system call with parameters: AFINET (address family), SOCKDGRAM (socket type for UDP), and IPPROTOUDP (protocol) - Ex...