On 10/16/24 11:49 PM, Waldek Hebisch wrote:
Functions handling those streams need to be changes so that they perform formatting without using Lisp stream functions. Then we can redirect result to use sockets.
The "direct stream to socket" puzzled me. Now looks like we should use "socket-stream", which is not a part of CL standard, we may need to use external Lisp library like usocket. We will not use the sock_send/get_Int/String FFI C functions on the Lisp side. Now the architecture looks like this: FRICASsys opens SpadServer, many spadclients can connect to it, for each client, FRICASsys creates a socket-stream for it, for the active client, we assign its socket-stream to *spad-stream*, so that output goes via socket automatically. - Qian -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/beaa96a5-f2f1-4fe7-ab7a-dd7ea7b89552%40gmail.com.
