Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: (reyjrar)Non blocking read on a filehandle

by AgentM (Curate)
on Jan 31, 2001 at 00:29 UTC ( [id://55344]=note: print w/replies, xml ) Need Help??


in reply to Re: (reyjrar) Non blocking read on a filehandle
in thread Non blocking read on a filehandle

Pretty much everything you have there is buffered in some way or another. Don't forget that you can turn this off using $. It's also worth mentioning that's its a bad idea to use send or recv on a filehandle. :-D For syswrite and sysread, buffering is also optional.
AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.
  • Comment on Re: Re: (reyjrar)Non blocking read on a filehandle

Replies are listed 'Best First'.
(tye)Re2: Non blocking read on a filehandle
by tye (Sage) on Jan 31, 2001 at 00:35 UTC

    sysread and syswrite are not buffered, other than that the operating system might buffer things such that what you syswrite() might not be flushed to disk immediately. But it will be visible to other processes immediately.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2024-04-18 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found