Question 3 - (2 Marks) State whether the following statements are true or false. If false, explain why. Each question is worth 0.5 Mark. a) Socket classes are used to represent the connection between a client program and a server program. b) To connect a client to a server, the server waits on any port number to accept clients' requests for connections. c) After accepting a connection request, the server uses the same port at which it accepts connection requests to transfer data with the client. d) ServerSocket server = new ServerSocket( 5000, 5); - this creates a socket waiting on port number 5000 that can accept up to 5 clients during its life time.
没有找到相关结果