The ServerSocket accept() method is blocking. This means a) All other clients ar
ID: 3582365 • Letter: T
Question
The ServerSocket accept() method is blocking. This means a) All other clients are prevented from accessing the server until it finishes talking with this client. b) Nothing else is going to happen in the program until the accept() method finishes making its connection. c) The program doesn't need to use the CPU until the accept() method hears from a client. d) Both a and b. c) Both b and c. What might a "non-blocking" accept() method do differently? a) Communicate with binary data instead of text. b) Return immediately, even if no client has tried to connect. c) Refuse clients if the server is too busy. d) Use a different port number.Explanation / Answer
Answers:
1.Option D) both a and b
2.option B)return immediately ,even if no client has tried to connect