http://www.perlmonks.org?node_id=267200


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