Programming - Sockets - Discussion

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

 



Q.

On the server side,the _______________ method returns a reference to a new socket on the server that is connected to the client's socket.                         


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

Answer: Option D
Explaination:

 


accept() method returns a reference to a new socket on the server that is connected to the client's socket.




Discussion

Your Comments Goes here...
NameDiscussion