Python has a variety of modules available for network programming.
More information about programming IP Sockets.
We make use of the module SocketServer.
Handle the HTTP request by sending back an HTML page.
This HTML page contains:
IP address and port number of the client connecting.
The original HTTP request.