2081 10

BIT401 ยท 2081 ยท 5 marks

Write the steps of writing socket program using UDP.

Write the steps of writing socket program using UDP. [5]

Advanced Java ProgrammingChapter 7: Network Programming with SocketsUDP socket programming steps

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...