O.k., can_read() takes a timeout value as an argument and if that it set to 0, it will not block. I understand.
According to the docs it returns a list of handles that are ready for reading.
Is it correct that I have to traverse this list and check whether $sock is amongst them to fulfil the condition You stated?
In reply to Re^4: Using read/syswrite with IO::Socket::SSL
by Bloehdian
in thread Using read/syswrite with IO::Socket::SSL
by Bloehdian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |