On Sun, Nov 23, 2008 at 10:56:47AM +0000, Tomas Hlavaty wrote: > this works for me. Not sure about the consequences of not reading the > last char though. Do we have to read it?
I think that not reading the last char might give problems. As the connection is not closed (which was the primary reason for the problem), that 'peek'ed char will be return upon the next request. A C function would need to set 'Chr = 0' to avoid this. Cheers, - Alex -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]