I have seen this question in the
test. The Question is about IO streams, though it needs to read data from a socket. However, in accordance to the guidelines of this forum, I would not present the question.
I thought I would just share this info. since I found the question just a bit outside the IO scope.
Vikram