Christian Grothoff schrieb am Samstag, den 29. Oktober um 15:28 Uhr:
I've attached a completed example that writes every 4s a "Round %d"
string to the client (based on the trigger). I've added comments
where appropriate.
Thank you very much!
There seems to be a race condition somewhere:
While testing my "wget -O - -q http://localhost:8888/" call sometimes just
returns
an empty document:
HTTP/1.0 200 OK..Content-Length: 0..Date: Sat, 29 Oct 2011 14:12:32 GMT....
Besides what would I need to modify in the code to close the client
socket right after one round has been sent to the client?
Regards
Sven