Nonblocking IO for stdin

gareis dhasenan at gmail.com
Mon Jan 8 14:52:24 PST 2007


Sorry, I accidentally posted this to .D rather than to .learn. I begin 
to think I never will.

I'm looking for nonblocking input from stdin. Every input function for 
streams blocks, and din.available() always returns 0.

I can do this with a socket, but I don't know how to open a socket for 
stdin.

Any suggestions of where to look? I haven't found anything in the 
archives about it.

Thanks.


More information about the Digitalmars-d-learn mailing list