MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statements is used by the serve to listen for a connection request from a client? |
| A. | Socket s = ServerSocket.listen(); |
| B. | Socket s = ServerSocket.wait(); |
| C. | Socket s = ServerSocket.get socket(); |
| D. | Socket s = ServerSocket.accept(); |
| Answer» E. | |