MCQOPTIONS
Saved Bookmarks
| 1. |
Which steps occur when establishing a TCP connection between two computers using sockets? |
| A. | The server instantiates a ServerSocket object, denoting which port number communication is to occur on |
| B. | The server invokes the accept() method of the ServerSocket class. This method waits until a client connects to the server on the given port |
| C. | After the server is waiting, a client instantiates a Socket object, specifying the server name and port number to connect to |
| D. | All of the above |
| Answer» E. | |