[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
never
 hang, you'll get an EWOULDBLOCK error when there is
no 
 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
http://fifaworldcup.yahoo.com




More information about the fpc-pascal mailing list