[Ecls-list] Anybody uses smm_wsock?
Karsten Poeck
karsten.poeck at gmail.com
Mon Oct 27 20:19:43 UTC 2008
I use simply
(sb-bsd-sockets:socket-make-stream
socket
:element-type :default ...)
in the socket creation and they seem to work fine bivalent (as they do
in sbcl).
I think just in cmu and clisp you have to switch the element type
dynamically.
salud2
Karsten
In article <20081026214412.GA23393 at linode.davidb.org>,
David Brown <lisp at davidb.org> wrote:
> >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