STDIN is not a socket. You can only use select on sockets in Windows, as previously stated.
Even if you weren't on Windows, it would be defy the purpose of select to read until you got a newline, and it doesn't make sense to use buffered I/O and select on the same handle.
In reply to Re^3: Multiplexing problem
by ikegami
in thread Multiplexing problem
by grlemn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |