reading from socket gives 0 bytes
Andreas.Raab at gmx.de
Sun Apr 14 20:39:19 UTC 2002
This behavior is normal in the windows VM in order to prevent a
particularly nasty problem.
> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On
> Behalf Of Kamil Kukura
> Sent: Sunday, April 14, 2002 9:57 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: reading from socket gives 0 bytes
> I work with PostgreSQL and here is the piece code of
> (socket waitForDataUntil: Socket standardDeadline)
> ifFalse: [self error: 'timed out getting data'].
> lastReadIndex _ socket receiveDataInto: readBuffer
> It happens that #waitForDataUntil: returns true so there
> should be some
> data ready but lastReadIndex gives 0. I use Windows 2000, Squeak 3.0
> with VM version 3.2 (release build 1). To me it's quite
> strange behavior
> perhaps in Windows' VM only. Or is it normal?
More information about the Squeak-dev