On Jul 23, 2004, at 08:06, Brian Schroeder wrote:

> I'm stuck with a simple task I want to complete using druby.
>
> I have a server and some  client processes. It is easy to make the 
> client
> execute code on the server side. But now I want to call back to the 
> client
> and execute a function there. But as soon as I pass a client object or
> lambda function to the server, it blows up.
>
> Here are my thoughts so far as a minimal example (I really tried to 
> make
> it short, so no $SAFE and friends):

There are a few slight glitches (probably left from when you cut it 
down), but the main problem is that you forgot to call 
DRb.start_service on the client before trying to connect to the server. 
Once I added that, it worked for me.

HTH,


Nathaniel
Terralien, Inc.

<:((><