|Perl: the Markov chain saw|
Re^6: Does IO::Select work? Anywhere?by BrowserUk (Pope)
|on Oct 22, 2012 at 17:54 UTC||Need Help??|
To get away from your obsession on readline,
Observation is not obsession.
I can kill the client's xterm, before I send any newline, and the server stays responsive to new and other connections.
Sure you can if you fork, but that's a different solution. Ie. a forking server not a multiplexing server.
Here is a perfectly serviceable equivalent using threads:
That will (has) run all day and night without problems.
And here is a 'one-liner' that will launch 1000 clients at it each time:
But as with all forking servers, it is ridiculously resource intensive for an echo daemon.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.