Project

General

Profile

Bug #14471 ยป echo_server.rb

jrafanie (Joe Rafaniello), 02/13/2018 05:06 PM

 
1
require 'drb/drb'
2

    
3
class Echo
4
  def echo(str)
5
    str
6
  end
7
end
8

    
9
DRb.start_service('druby://localhost:9999', Echo.new)
10
DRb.thread.join