[EMAIL PROTECTED] wrote:
Agree in principle with what you're saying here as well, one suggestion 
- perhaps you could mod your server to accept/general queries/output via 
standard in/out. That way its could be piped over a multitude of channels.

Cheers - Lindsay
    

The architecture would be all wrong for doing that. It would be easy to
make a very little program which passes queries on stdin to the
sqlite3_exec routine and then use the callback function from uSQLite to
reply in the same format.

Thing is, you only have one standard in and out, it could only do 1
client.

  

A lot of CGI programs work that way - PHP can for one, its more commonly invoked as a DLL plugin these days, but its used to be and still can be invoked via cmd line pipes. A new instance of php is invoked for each request.


--

Lindsay

Reply via email to