[Ecls-list] SBCL Sockets in ecl will not take string as buffer?

Juan Jose Garcia-Ripoll juanjose.garciaripoll at gmail.com
Mon Jan 7 15:48:13 UTC 2013

On Mon, Jan 7, 2013 at 4:45 PM, Peter Enerccio <enerccio at gmail.com> wrote:

> Hello, I am trying to use SB-BSD-SOCKETS in ecl, however, since there is
> no documentation about that, I am using documentation on SBCL webpage
> (which is supposed to be the same for sockets), however, SOCKET-SEND
> according to help on sbcl webpage can accept string as buffer, however,
> this method is failing for me in ecl:

Most likely this is due to the fact that the string is not a base-string,
but a unicode-string. In that circumstance the C routine cannot cope with
the buffer pointer and the FFI refuses to perform the appropriate C call.

I am not sure how to proceed on this.


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130107/d740c925/attachment.html>

More information about the ecl-devel mailing list