Hey guys, is there any way to find the end a socketstream? When I use:
MemoryStream ms = new MemoryStream(); while (s.socket().isAlive()) ms.write(s.getc()); I run into an endless loop. The socket doesn't send the size of the data, so I need to know when I received all the data. How can I figure out that I received all data? thx for any help!