summaryrefslogtreecommitdiff
path: root/sample/drb/gw_s.rb
blob: f91249b3e027752f06a5c98fed3162c2bbb0c336 (plain)
1
2
3
4
5
6
7
8
9
require 'drb/drb'
require 'drb/unix'
require 'drb/gw'

DRb.install_id_conv(DRb::GWIdConv.new)
gw = DRb::GW.new
s1 = DRb::DRbServer.new(ARGV.shift, gw)
s2 = DRb::DRbServer.new(ARGV.shift, gw)
gets