Module: Mycel::Transport::Mixin::Async::Client

Included in:
AsyncAutoServant, AsyncClient, AsyncServant
Defined in:
lib/mycel.rb

Instance Method Summary collapse

Instance Method Details

#connect_toObject



294
295
296
297
298
299
300
301
# File 'lib/mycel.rb', line 294

def connect_to(...)
  sk = TCPSocket.new(...)
  Thread.new {
    callback(:connect_to, sk)
    callback(:connect, sk)
  }
  sk
end