No. The whole point of using select is to let us know when reading from the socket won't block and when writing to the socket won't block.
Unfortunately, it doesn't tell us how much we can write to it without blocking. We only know that we can write one byte without blocking. Maybe non-blocking sockets would help in the writing half. Ideally, there would be a system call that tells us how much we can write without writing. I don't know if there is one.
In reply to Re^3: IO::Handle read error description?
by ikegami
in thread IO::Handle read error description?
by Marcello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |