Thanks Glenn for you help.
I've been trying with the Trivial-sockets, as suggested by John in a previous message, and now both applications are able to communicate. I've created some code for the server site and for the client too. But the problem that I face now is how to execute instructions from the client in the server. Maybe an example could ilustrate the scenario.

App 1 (Client)
App2 (Server)

The App2 stores information, and it is responsible to manage queries over this info. To do that, it offers a complite set of functions to search and retrive this information. For example, you can ask (in the standalone version) something like:

(get-elements Condition1 &rest Cond2 CondN)

And this applications (that acts as a server) answer with a list of the elements that follow those conditions (Cond1 ... CondN).

Now, I have a new application, that is the App1 (Client), and this needs the information provided by the App2. So, I can send instructions using the TCP channel streams, but I don't know how the server has to understand the orders. Suppose that we have already set up the stream channel, and this is name "stream-channel". The client, send the instruction, like:
(format stream-channel "instruction-code")

I don't know how to change the String to an instruction understable by the server. This means, how the server could translate from the String "(get-elements Cond1 --- )" into a call of one of its functions.

Thanks anyway for your time

Peter





On 2/9/06, Glenn Ehrlich <glenn.ehrlich@specastro.com> wrote:
Peter Hertmuller <phertmuller <at> gmail.com> writes:

Peter,

Forgot to add this link.  This is a short thread discussing the implementation
of the message broker I sent in a previous reply.  It briefly discusses some
issues coding with sockets with this example.

http://thread.gmane.org/gmane.lisp.steel-bank.devel/5551

Glenn




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sbcl-help mailing list
Sbcl-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help