On disconnect, can_read is triggered. Attempting to read will return 0.
Update: Alternatively, eof should return true.
In reply to Re^5: How to Multiplex a Client using IO::Select
by ikegami
in thread How to Multiplex a Client using IO::Select
by muthuma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |