MATEC Web of Conferences (Jan 2016)
Server Program Analysis Based on HTTP Protocol
Abstract
The overwhelming majority of Web developments are built based on Web application of HTTP protocol. To analyze the server program based on the HTTP protocol and the process of interaction between the browser and server, a simple HTTP-based server program is taken as an example to describe how to use the theories of multithreading and asynchronous operation, and the core section of HTTP-based server program is gradually resolved with Winsock programming. This method can achieve the purpose to avoid blocking the calling thread, and improve the responsiveness of a server program.
Keywords