[Ecls-list] Binary sock I/O.

David Brown lisp at davidb.org
Wed Oct 15 07:17:35 UTC 2008


On Wed, Oct 15, 2008 at 09:01:35AM +0200, Juan Jose Garcia-Ripoll wrote:
>On Wed, Oct 15, 2008 at 8:22 AM, David Brown <lisp at davidb.org> wrote:
>> I'm not sure if that's my problem, or even really what it is.  I'm
>> trying to do write-sequence of (unsigned-byte 8) data, and the stream
>> element type is base-character.  This is the part I'm concerned about.
>
>Can you try setting s->stream.char_stream_p = 0 for whatever stream it
>is created? Besides that, what element type do your vectors have? I
>presume they are vectors aren't they?

The streams are read/written with a combination of
write-byte/read-byte and write-sequence/read-sequence of vectors of
(unsigned-byte 8) elements.

I can try forcing them to non-char streams tomorrow.  I need to sleep
now.

David




More information about the ecl-devel mailing list