eof of socketstream?
isntveryinteresting at isntveryinteresting.com
Sun Jan 22 14:01:47 PST 2012
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
thx for any help!
More information about the Digitalmars-d-learn