In Java socket programming, which class is used to listen for incoming client requests on the server side?

Last Updated :
Discuss
Comments

In Java socket programming, which class is used to listen for incoming client requests on the server side?

Socket

ServerSocket

DatagramSocket

SocketChannel

Share your thoughts in the comments