[BUG][FIX] SocketStream|next:

Stephane Ducasse ducasse at iam.unibe.ch
Sun Jul 20 06:22:53 UTC 2003


Hi luciano

could you write a couple of tests that would cover your bug and 
related. This is really important for the future.

Stef


On Saturday, July 19, 2003, at 11:59 PM, Luciano Notarfrancesco wrote:

> Hi,
>
> In some cases SocketStream|next: answers fewer than the requested 
> number of bytes. This was driving me crazy untl I found it. I agree 
> that there should be a method like Flow's nextAvailable: (which 
> answers at most the requested number of bytes), but I believe next: 
> should block until the requested data has arrived or raise an 
> exception.
>
> Luciano
> <SocketStream-nextFix.cs.gz>



More information about the Squeak-dev mailing list