Open Saccomani opened 8 years ago
I also got this bug. Something wrong with the reader, especially because the the whole network pipe is used as traditional stream object and not as a network stream. I had tested it out and it looks like the native stream object cannot serialize the incoming tcp packets as it should, its true especially when working with threads. There is something with the latency when reading, but im not remember what. Try using binaryreader. It worked for me as it supposed to.
Any solution so far? I have tried using BinaryReader but it doesn't work either.
I try use this code, but i am not able to get a byte array and convert to string...
the program stop when arrive the last byte..
can any one help me?
listener.ConnectionReceived += async (sender, args) => { var client = args.SocketClient;
};