[Ecls-list] Anybody uses smm_wsock?
David Brown
lisp at davidb.org
Sun Oct 26 21:44:12 UTC 2008
On Sun, Oct 26, 2008 at 10:10:19PM +0100, Juan Jose Garcia-Ripoll wrote:
>On Sun, Oct 26, 2008 at 9:55 PM, David Brown <lisp at davidb.org> wrote:
>> On Sun, Oct 26, 2008 at 09:39:12PM +0100, Juan Jose Garcia-Ripoll wrote:
>>>
>>> Besides that, we should agree on what should be the default mode of
>>> socket streams: binary, character? If anybody wants to have a look at
>>> the current code and ensure there are enough knobs to change this, you
>>> ar emore than welcome.
>>
>> Most of the other socket libraries (not sure about SBCL) create
>> bivalent streams by default.
>
>Right now ECL does not have bivalent streams: they are either binary
>or text mode.
Can they be switched dynamically? Protocols such as http use text for
parts and binary for other parts. Clisp lets you do
(setf (stream-element-type stream) 'character)
Since currently, both seem to work, it might not be a problem.
David
More information about the ecl-devel
mailing list