Explain how a UDP client program (Table 25.13) sleeps until the response comes from the server. Table

Question:

Explain how a UDP client program (Table 25.13) sleeps until the response comes from the server.

Table 25.13 A simple UDP client program 1 import java.net.*; 2 import java.io.*: 3. 4 public class UDPClient 6. final int buffSize = ..; // Add buffer size DatagramSocket sock; String request; 7 8. String response; InetAddress servAddr; 10 11 int servPort; 12 13 UDPClient (DatagramSocket s, String sName, int

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: