Difference between Socket and ServerSocket
1) ServerSocket is implemented on the server side so that it can listen the client requests and respond to them while Socket is implemented at the client side to send requests to the port of the machine where ServerSocket is listening.
2) The socket provides one end of a two-way communications link
between two programs running on the network while ServerSocket provides computer communications end point for new incoming connections.
For more information,please visit the following links:http://www.roseindia.net/java/network/serversocket.shtmlhttp://www.roseindia.net/java/network/client-socket-information.shtml