Module: Mycel::Transport::Mixin::Async::Client
- Included in:
- AsyncAutoServant, AsyncClient, AsyncServant
- Defined in:
- lib/mycel.rb
Instance Method Summary collapse
Instance Method Details
#connect_to ⇒ Object
258 259 260 261 262 263 264 265 |
# File 'lib/mycel.rb', line 258 def connect_to(...) sk = TCPSocket.new(...) Thread.new { callback(:connect_to, sk) callback(:connect, sk) } sk end |