The sample code shows a very basic web server that handles requests one at a time. A text line is printed showing the file requests. Please note the contents to be served has to be in the same folder of the server binary.
BTW, web server listens on port 7777, but you may change that if you wish.
Click on this entry's title to see the code on pastie's page. Please note there is a download link on the upper right corner there.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment