This class represents a server-side socket that waits for incoming client connections. A ServerSocket handles the requests and sends back an appropriate reply.
developer.android.com