Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: sysread/syswrite wrappers

by choroba (Cardinal)
on Oct 12, 2016 at 11:57 UTC ( #1173828=note: print w/replies, xml ) Need Help??

in reply to sysread/syswrite wrappers

Reminds me of my struggles with A Game Using TCP Sockets. I haven't seen the code fore several years, so it might me only tangentially relevant, I definitely don't remember using EINTR.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: sysread/syswrite wrappers
by vsespb (Chaplain) on Oct 12, 2016 at 12:58 UTC
    Yep, that your post links to my post written at y2010. Well, that time it was surprise for me that I should use syswrite and cannot use, say, eof(), but now it's not surprise, I know how to workaround this and everything works on production and well tested. But now I wondering why nobody else inventing wrappers for sysread and maybe there is simplier way..

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2022-12-09 11:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found