
28 Apr
2009
28 Apr
'09
9:39 a.m.
Jason Dusek
2009/04/21 Manlio Perillo
: Luke Palmer ha scritto:
And many other permutations, with differing degrees of laziness and parametericity.
As long as you stricly read a string from the socket, this is ok. But you can not read a string lazily.
Why not? It changes the way in which the program fails (if it does) but it does not change the result.
Reading a socket lazily has exactly the same result as strictly reading a socket that isn't sent any data. In network programming, you continuously have to drain your input. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.