Hello, Linas Vepstas <[email protected]> skribis:
> The stuff coming over the network sockets are bytes, not s-exps. Since none > of the bytes are ever zero, they are effectively C/C++ strings, and are > handled as such. These C strings are sent to scm_eval_string() wrapped > by scm_c_catch(). I don’t know to what extent that is applicable to your software, but my recommendation would be to treat that network socket as a Scheme port, pass it to ‘read’, and pass the result to ‘eval’ (as opposed to reading the whole string from C++ and passing it to ‘scm_eval_string’.) HTH, Ludo’.
