hi guys, how do i create a simple server that ships alongside my windows app during installation which will be used as local server to host web pages that ships along with the Windows app.
"to host web pages".
Make sure you're still protecting yourself against things like DDoS, faulty delimiters or exceptions on server.
Once you understand it is simply a server socket, and a text protocol, you are like OMG, it's that simple? And the threading in his examples is very well thought out and straight forward. I really enjoyed the book.
Source code is located at this site:
I can see situations where he may not be giving away code which is very vital, for example a web compiler, or some tool, or a help app, then again, if you are sending backend code, then make sure that you don't mind other people using it for their own purposes. Even compiled it can be reversed.
What I don't necissarily understand is how the big names in web servers manage to post ftp, and other types of files like PDFs you can read inside the browser.