Clear questions and runnable code
get the best and fastest answer
Re^4: Does IO::Select work? Anywhere?by BrowserUk (Pope)
|on Oct 21, 2012 at 15:56 UTC||Need Help??|
that is why I like using the eventloop method that Glib and Wx use
I guess it explains the popularity of such frameworks, when the primary perl tool -- IO:Select -- has been broken for 12 years or more.
And probably why all the examples are so bare bones. Every time anyone has tried to write anything more complex, it breaks. So they either give up or resort to some higher-level framework.
P.S. See the low level Perl code, multiplexing server at perl examples
Thanks. Unfortunately, the first thing I see in the I/O Multiplexing Server example is:
What if the client gets interrupted before it sends the newline?
You've got a something like 900 seconds default before the connection times out and the endoffile flag gets raised; during which time, nothing else happens. No new clients get accepted, no existing clients get serviced.
And this is teaching material??
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.