in reply to Re: sysread and syswrite in tcp sockets
in thread sysread and syswrite in tcp sockets

It is documented in the very first word: (emphasis mine)

Attempts to read LENGTH bytes of data into variable SCALAR from the specified FILEHANDLE

sysread returns what's available

None of those conditions are considered errors.