development release version 9.0.6
development release version 9.0.6
• full functional HTTPD server mode on all OSs
• other changes, additions and bug fixes
The newLISP server mode now supports HTTP with GET/POST CGI and 'net-eval' requests at the same time.
There was no 9.0.5 released so read both the 9.0.5 and 9.0.6 chapters in the change notes.
For files and change noted see:
http://newlisp.org/downloads/development/
Lutz
ps: for the HTTP mode on Win32 make sure there is a C:\tmp directory
• other changes, additions and bug fixes
The newLISP server mode now supports HTTP with GET/POST CGI and 'net-eval' requests at the same time.
There was no 9.0.5 released so read both the 9.0.5 and 9.0.6 chapters in the change notes.
For files and change noted see:
http://newlisp.org/downloads/development/
Lutz
ps: for the HTTP mode on Win32 make sure there is a C:\tmp directory
Code: Select all
(nth(find "DE" (list "DE" "EN"))(list "1" "2" "3"))
Hans-Peter
What do you mean? Are you speaking of the built in web server? It would seem that in many circumstances you would want to respond in a like manner with x-event type handling to services not having anything to do with http?Lutz wrote:x-event has been eliminated because of built-in server mode.
Jeremy
Jeremy: you can simulate the old x-event mode with newlisp server mode. Start newlisp using:
myprog contains:
now with telnet try this:
Or you start without myprog and can enter newLISP expressions. Instead of telnet you could have another program connecting. Read all about it here: http://newlisp.org/CodePatterns.html#distributed
Lutz
Code: Select all
./newlisp -c -d 8080 myprog
Code: Select all
(while (set 'line (read-line))
(print (upper-case line)))
(exit)
Code: Select all
Escape character is '^]'.
llll
LLLLdfgsdfgsdfg
DFGSDFGSDFGsdfgsdgsdfg
SDFGSDGSDFG
Lutz