[Ecls-list] Anybody uses smm_wsock?
David Brown
lisp at davidb.org
Sun Oct 26 20:55:10 UTC 2008
On Sun, Oct 26, 2008 at 09:39:12PM +0100, Juan Jose Garcia-Ripoll wrote:
>Seems that the contributed sb-socket does not require this kind of
>streams. Perhaps we could drop them entirely?
>
>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.
Oh, I forgot to post a bug I found in the sb-socket code:
(setf (sb-bsd-sockets:sockopt-tcp-nodelay sock) t)
fails with a permission denied error. The set-sockopt-bool function
always passes a level of SOL_SOCKET, but this needs to be set to the
TCP protocol number of TCP (properly returned from getprotoent).
When I get I chance, I might be able to look into a fix for this.
David
More information about the ecl-devel
mailing list