Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: IO::Select can_read and windowing

by Marcello (Hermit)
on Jun 19, 2003 at 14:25 UTC ( #267200=note: print w/replies, xml ) Need Help??

in reply to Re: IO::Select can_read and windowing
in thread IO::Select can_read and windowing

Thanks aquarium,

But the problem is that I need to use blocking reads, so if I have read one command and issue another read, the server blocks until the next command is completely read. Is there a way to tell how many bytes can be read? I then can use this to determine if I should do another read? Or maybe another IO::Select function to determine if I've read all the data?

Kind regards
  • Comment on Re: Re: IO::Select can_read and windowing

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2020-05-30 15:25 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (173 votes). Check out past polls.