in reply to RE: How do I write a simple webserverin thread How do I write a simple webserver
To tell the browser that you are done, you need to close the socket: close $host