Programming with Sockets
Content-Length: 111
Connection: close
Content-Type: text/html
Inspecting the client/server communication
The interaction between the client and server through the exchange of network
packets can be analyzed using any network packet capturing tool, such as Wireshark.
You can configure Wireshark to filter packets by port or host. In this case, we can
filter by port 80. You can get the options under the Capture | Options menu and
type port 80 in the input box next to the Capture Filter option, as shown in the
following screenshot: