22. nov. 2004

MacDevCenter.com: Write a Webserver in 100 Lines of Code or Less

Write a Webserver in 100 Lines of Code or Less by Jonathan Johnson -- REAL Software programmer and tester, Jonathan Johnson, shows you the power and simplicity of developing with REALbasic by walking you through the building of a working webserver. After this tutorial, you'll not only have a pratical knowledge or REALbasic, but you'll have a cool little server too.


(The Response header: HTTP_VERSION + Space + STATUS + Space + MESSAGE + CRLF + CRLF.
Ex.: Write "HTTP/1.1 " + format( statusCode, "000" ) + " " + _
response + chr(13) + chr(10) + chr(13) + chr(10))

Ingen kommentarer: