Yes, yes, and I just got my new license plate today: CTL GEEK. I'm happy.
My difficulty with the select->can_read() statement is with it's appropriateness for my task, and not with the IO::Select code at all. It returns at the end of timeout to tell you nothing came from any handle, as designed. I need something that will tell me, "You told me to listen to this handle, but the handle went away and you'd better do something about that."
For my main purpose, monitoring the operator interface on one socket (though treated as STDIN) and the motion controller on the other, it does exactly as specified.
But again, what I really need is to know how get IO::Socket or IO::Select to tell me that a socket went away.
ginseng
In reply to Re: Re: Flaky Server (IO::Socket and IO::Select Question)
by ginseng
in thread Flaky Server (IO::Socket and IO::Select Question)
by ginseng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |