[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

polling streams



I'm using a the tcp-stream from the mcl library, and I'd like to display
the output I get whenever there is new output to get.  Is there any way to
know if there is any output to get off the stream so that I don't hang my
program when I read something?

thanks
cliff

Cliff Chaput                   | "The scribes on all the people shove
Institute of Learning Sciences |  and bawl allegiance to the state.
Northwestern University        |  But they who love the greater love
chaput@ils.nwu.edu             |  lay down their lives; they do not hate"