S
Scott
Hi guys,
If I try to call read(), readline(), readtoend() and
there is nothing to read (from a never ending loop for
example) the program seems to continue but it exits the
loop for no apparent reason.
We also can't check the stream for the length, as the
network stream doesn't support seek operations
MSDN reckons that the functions should return null if
there is nothing to read but it doesn't.
Can anybody post some example code that shows how to read
the entire contents of a network stream and handling if
there isn't anything in it?
Thanks in advance,
Scott
If I try to call read(), readline(), readtoend() and
there is nothing to read (from a never ending loop for
example) the program seems to continue but it exits the
loop for no apparent reason.
We also can't check the stream for the length, as the
network stream doesn't support seek operations
MSDN reckons that the functions should return null if
there is nothing to read but it doesn't.
Can anybody post some example code that shows how to read
the entire contents of a network stream and handling if
there isn't anything in it?
Thanks in advance,
Scott