Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: sysread and syswrite in tcp sockets

by ikegami (Patriarch)
on Dec 22, 2008 at 17:06 UTC ( [id://732149]=note: print w/replies, xml ) Need Help??


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

  • when the end of file is reached
  • when there's fewer than LENGTH bytes available from a pipe or socket
  • when the call is interrupted by a signal

None of those conditions are considered errors.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://732149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-23 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found