fix cont-responder tutorial method of starting server.

cvs
Chris Double 2006-01-24 10:56:44 +00:00
parent f8939863ff
commit 9fdc70a623
1 changed files with 3 additions and 4 deletions

View File

@ -22,13 +22,12 @@ vocabulary:
The responders that you will be writing will require an instance of The responders that you will be writing will require an instance of
the httpd server to be running. It will be run in a background thread the httpd server to be running. It will be run in a background thread
to enable the interactive development of the applications. The to enable the interactive development of the applications. The
following is a simple function to start the server on port 8888 and following is a simple function to start the server on port 8888:
restart it if an error occurs:
USE: httpd USE: httpd
USE: threads USE: threads
: start-httpd [ 8888 httpd ] [ dup . flush [ start-httpd ] when* ] catch ; : start-httpd [ 8888 httpd ] in-thread ;
[ start-httpd ] in-thread start-httpd
Responders Responders
========== ==========