Hey folks,
I'm currently writing a console application and I'd like to be able to
get input from the user yet not have the application block if there's no
input available. From what I read, there's no way to query StdIn to
discover if there are any characters waiting, and calls to read() and
readline() block.
So, what do others do? The language reference mentions the possibility
of converting stdin to a socket like so:
Dim Incoming as TCPSocket = Stdin
but I can't seem to retrieve data from the socket's read/readall
methods. I'm running this all on Windows for the moment.
jp
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|