[BUG][FIX] SocketStream|next:

Luciano Notarfrancesco lnotarfrancesco at yahoo.com
Sat Jul 19 21:59:02 UTC 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocketStream-nextFix.cs.gz
Type: application/x-tar
Size: 271 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030719/f341f02d/SocketStream-nextFix.cs.tar


More information about the Squeak-dev mailing list