A Simple Web Server.
Multiply by 2
This APL Server is composed of 3 functions
- START which opens the main socket. This
socket waits on the port number 80 (defaut for browsers)
- REQUEST which accepts a session, receives
a message, transmits answer, closes session.
- SCRIPT which prepares an answer.
In this demo, this function prepares an html text, then
the mime header.
http://apl.demo.host/543