lib/rio/scheme/tcp.rb in rio-0.3.1 vs lib/rio/scheme/tcp.rb in rio-0.3.2
- old
+ new
@@ -40,9 +40,10 @@
module TCP #:nodoc: all
RESET_STATE = 'Stream::Duplex::Open'
require 'rio/rl/ioi'
class RL < RL::IOIBase
RIOSCHEME = 'tcp'.freeze
+ attr_reader :host
def initialize(host,port)
@host = host
@port = port
end
def opaque()