Venom Code Snippet: httpdemo.vnm
Program runs a very simple web server with no file system required, and
illustrates use of PRINT statements to send dynamically generated data to an
http object and hence to a web browser. It uses an Ethernet interface such as
that supplied on the 5902 VM2 Application Board.
The code in the window below is displayed with syntax highlighting, as in
VenomIDE.
This should run on most networks. Use you web browser to access http://vm1demo, http://vm1demo.localnet or, failing that, the IP address displayed on the terminal when the server starts.
If you want use the code it is best to copy or download the file from here: httpdemo.vnm.
See more code snippets here.