Question: What is the difference between a Server Socket and a Socket? a) The server's job is to connect; the client's job is to accept. b)
What is the difference between a Server Socket and a Socket? a) The server's job is to connect; the client's job is to accept. b) The client's job is to connect; the server's job is to accept. c) The server produces information; the client consumes it. d) The client produces information; the client consumes it. How does a Server Socket object let us communicate with the client? a) It uses classes and methods from Java's Socket Stream API. b) Provides an Input Stream or Output Stream object we can use to read/write. c) Provides a Socket object representing a connection with the client. d) Connects the local keyboard and screen with the client
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
