Module: Rserve::TCPSocket

Defined in:
lib/rbbt/util/R/eval.rb

Class Method Summary collapse

Class Method Details

.new(hostname, port_number) ⇒ Object



7
8
9
10
# File 'lib/rbbt/util/R/eval.rb', line 7

def self.new(hostname, port_number)
  raise "Socket at #{hostname} not found" unless File.exist? hostname
  @s = Socket.unix hostname
end