From: Joel VanderWerf Date: 2008-10-14T04:30:29+09:00 Subject: Re: Accessing Ruby Object in Memory Two addenda: 1. if the comm seems slow, try setting Socket.do_not_reverse_lookup = true 2. the url for windows (and other tcp) should be: uri = "druby://localhost:4444" So here's the example again: == server.rb == require 'drb' Socket.do_not_reverse_lookup = true uri = "druby://localhost:4444" h = {1=>2, 3=>4} DRb.start_service(uri, h) DRb.thread.join == client.rb == require 'drb' Socket.do_not_reverse_lookup = true uri = "druby://localhost:4444" DRb.start_service(nil, nil) server_object = DRbObject.new(nil, uri) p server_object.keys server_object.each do |k, v| p [k, v] end -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407