Which of the following statements is used by the server to listen for a connection request from

Question:

Which of the following statements is used by the server to listen for a connection request from a client?

(a) Socket s = serverSocket.listen();

(b) Socket s = serverSocket.wait();

(c) Socket s = serverSocket.getSocket();

(d) Socket s = serverSocket.accept();

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

Step by Step Answer:

Related Book For  answer-question
Question Posted: