Question: In Figure 25.16, what changes are needed if a client needs to send a message other than a string (a picture, for example). Figure 25.16
In Figure 25.16, what changes are needed if a client needs to send a message other than a string (a picture, for example).
Figure 25.16

Figure 25.16 Design of the UDP Client Client application program Create request Use response String String sendBuff recvBuff DatagramPacket sendPacket object recvPacket DatagramPacket object DatagramSocket object Transport layer (UDP)
Step by Step Solution
3.40 Rating (163 Votes )
There are 3 Steps involved in it
The DatagramPacket object is designed to handle an ar... View full answer
Get step-by-step solutions from verified subject matter experts
