Hi all,
I m doing a sysread in Perl 5.8.2 on AIX 5.3. As per the documentation, sysread
is supposed to give 0 when it has read all read from filehandle.
In my scenario, the filehandle is STDIN and points to a socket. So I m basically doing a sysread
from a socket. But I never get 0 from sysread
and it just blocks, even after client has sent all data.
Any idea what might be wrong?
Thanks.