Created
November 7, 2010 15:58
-
-
Save wandernauta/666199 to your computer and use it in GitHub Desktop.
HTTPD by RockerMONO (duckinator) that compiles but doesn't run on Wander Nauta's 32-bit box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import net/ServerSocket | |
socket := ServerSocket new("0.0.0.0", 8000, true) | |
while(true) { | |
conn := socket accept() | |
conn out write("<html><body>Hello, from the ooc socket world!</body></html>") | |
conn close() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment