Servers
Introduction
The previous chapters cover topics relevant to writing the client portion of a networking application. This chapter describes how to create the server side of the application.
A server is typically an application running on a host computer that responds to incoming client connections. Servers are usually robust and can handle simultaneous and erroneous requests.
A client application will connect to a server and make a request. After some processing, a server will usually execute some action and initiate a response. The request/response may continue for some time, until either the client or the server starts the shutdown sequence.