Hello world/Web server: Difference between revisions
Content deleted Content added
m Retro: omit |
→{{header|PHP}}: so the server isn't limited to 10 requests per second |
||
Line 423: | Line 423: | ||
$msg); |
$msg); |
||
} |
} |
||
usleep(100000); // limits CPU usage by sleeping after doing every request |
else usleep(100000); // limits CPU usage by sleeping after doing every request |
||
}</lang> |
}</lang> |
||