I am currently creating a small HTTP server that returns a static page Hello!
...
I tried with sockets with Java:
public sta
This is an answer to your last question only and the reason that nothing is visible in the browser is because you calculated the number of characters incorrectly.
It should be 57 instead of 59.
Better yet is to have the number of characters calculated automatically but I believe that your sample is just a sample.