Socket and serversocket difference?
posted 10 years ago
Bookmark the Java API Documentation. Useful resource for this kind of knowledge:
This class implements server sockets. A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester.
This class implements client sockets (also called just "sockets"). A socket is an endpoint for communication between two machines.