in reply to admin client
One big problem is the fork() in the server, and what that does to the @clients array. Each "server child" gets a copy of the "server parent"'s @clients array at fork() time. After that, each @clients array is entirely separate. This code assumes that there is only one version of the @clients array shared by all server processes. (The same goes for $lock.)
|
|---|