On the server side, for an instance returned by #open_server, accept a client connection and
return a new instance to
handle the server’s side of this client-server session.
# File lib/drb/drb.rb, line 939
def accept
while true
s = @socket.accept
break if (@acl ? @acl.allow_socket?(s) : true)
s.close
end
if @config[:tcp_original_host].to_s.size == 0
uri = "druby://#{s.addr[3]}:#{@config[:tcp_port]}"
else
uri = @uri
end
self.class.new(uri, s, @config)
end