[fpc-pascal]Re: Problem with AssignStream() on Linux

Yet Another Geek yetanothergeek at yahoo.com
Thu Jun 27 20:29:52 CEST 2002

>> When I try to use AssignStream() to read more than
>> 4096 bytes, my program hangs.

> 1. Use half the buffer size.
> 2. Use non-blocking IO - then your program will
 hang, you'll get an EWOULDBLOCK error when there is
 data available.

Thanks for your respone, Michael - 
Is there anywhere I can find an example of this?

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

More information about the fpc-pascal mailing list