Hi,im trying to implement unblocking reading from network stream, this causes me headaches:
StreamReader sr = new StreamReader(layer);
ret = sr.Read(buffer, 0, 1024);
Reads first 47 chars from network stream, it is end of line.
Next attempt will end in indefinite block.
Any attempt of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.