in reply to Re: Re: How do I tell getlines to get ALL the data?
in thread How do I tell getlines to get ALL the data?

As I understood the documentation, the timeout is used only to wait for the first line of data. If there is already data waiting to be read, getlines returns those lines and returns immediately.
  • Comment on Re: Re: Re: How do I tell getlines to get ALL the data?

Replies are listed 'Best First'.
Re: Re: Re: Re: How do I tell getlines to get ALL the data?
by Galen (Beadle) on Mar 22, 2001 at 20:35 UTC
    I think you've hit it on the head. When I loop the getlines, I get a timeout because the last getlines is waiting for the first line of data and never sees it. Hmm... well I still think I can rewrite the loop in such a way as to make this work for me.