Jon Smirl wrote:
I was basing the code on this. With a zero for EOF you can't tell whether their isn't data available or if the socket is closed. Zero at EOF is fine, but it needs to return NS_BASE_STREAM_CLOSED for the result value.
Hm, NSPR isn't helping matters: http://www.mozilla.org/projects/nspr/tech-notes/nonblockingio.html#PR_Available() _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
