This is a simple example how a webb-page use see to start a cgi program and read information from this.
The webb page open a socket to the cgi program and then listen on input on this socket.
The C-code start up and generate an initial message and then starts a periodic call to a function that sends a message (the time) to the webb-page (the client).
Two tabs
Gives two instances of the program on the server