On Dec 1, 2003, at 2:25 PM, Kipp, James wrote:

Yes. Calling sysread() gets you what's ready to be read UP TO the
amount of data you specify.  The rest probably just wasn't available
yet.  There could be a lot of reasons for this:  network lag,
operating
system buffers, etc.

Thanks. I tried turning off buffering on both ends, that did not work.

In your example, you only call sysread() once. Is that how you were doing it? If so, that's the mistake. The one call got you part of the data. Then you would loop, check and eventually call again to get the rest. Make sense?


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to