C# - StreamReader.ReadLine does not work properly!

前端 未结 4 1137
南方客
南方客 2020-12-09 19:37

Simply I have been trying to implement what BufferedStreamReader does in Java. I have a socket stream open and just want to read it in a line-oriented fashion -

4条回答
  •  醉梦人生
    2020-12-09 20:12

    Tried this and got

    The type or namespace name 'Stream' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'StreamReader' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'StreamReader' could not be found (are you missing a using directive or an assembly reference?) 'System.Net.Sockets.Socket' does not contain a definition for 'GetStream'

提交回复
热议问题