|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Some more network questions |
Date: | Tue, 28 Sep 2010 08:54:46 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3 |
On 09/27/2010 08:36 PM, Holger Hans Peter Freyther wrote:
Hi Paolo, all, I have a Sockets.Socket instance and I would like to call FileDescriptor>>nextUshort on it. Now I could do 'socket implementation nextUshort' but that will probably have bad effects due not using the ReadBuffer. Could we somehow get the nextUshort, nextByte: n signed: aBoolean into another class (Stream?)?
I'd really really prefer to have Python-style pack/unpack methods (#packInto:format:startingAt:, #unpack:startingAt:) and add _those_ to sockets.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |