in reply to Re: select() and input buffering
in thread select() and input buffering
I've fixed my app now but I'm not real happy with that solution. I had managed to write a fairly large and featureful app over a long weekend due to how simple perl makes so many little coding tasks. But being forced to replace <$sd> with sysread() has bloated my code and probably added a lot more development time.
It's like chopping the language off at the knees to not have any visibility into those input buffers. From the standpoint of the perl language being as useful as possible I still think the select() should be aware of the input buffers and should have returned true for sockets with buffered input.
But thanks for your help. I agree with the assessment of the problem and the necessary fix. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: select() and input buffering
by ikegami (Patriarch) on Apr 14, 2011 at 05:17 UTC | |
by declan (Initiate) on Apr 15, 2011 at 04:53 UTC | |
by ikegami (Patriarch) on Apr 15, 2011 at 20:22 UTC |