Programming - Networking - Discussion

You Are Here :: Home > JAVA > Networking - Discussion

 



Q.

The server invokes the____________________ method of the ServerSocket class. This method waits until a client connects to the server on the given port.                         


A. accept() B. stop()
C. init() D. destroy()

Answer: Option A
Explaination:

 


The server invokes the accept () method of the ServerSocket class. This method waits until a client connects to the server on the given port.




Discussion

Your Comments Goes here...
NameDiscussion