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

Re: Perl 5.8.2 thread is much worse

by gmpassos (Priest)
on Dec 28, 2003 at 07:04 UTC ( [id://317286]=note: print w/replies, xml ) Need Help??


in reply to Perl 5.8.2 thread is much worse

Just to comment about sysread(). If I'm not wrong, for sockets you can't try to read more than 1024*8 bytes per time with sysread()! At least with Perl-5.6.1 the bug exists. But since you are using the system resource I don't know if this is really a bug.

Soo, for portability use read(), and you will ensure that you are reading all the data. (As documented in the Perl POD).

Graciliano M. P.
"Creativity is the expression of the liberty".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found