end of stream vs !DataAvailable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Liu

    end of stream vs !DataAvailable

    Hi,

    For NetworkStream,
    what is difference between
    ReadByte() return -1 indicates "end of stream"

    and DataAvailable = false?

    Thanks a lot!


Working...