class MClientAgent
Public Class Methods
run(host,port,&b)
click to toggle source
# File lib/minitcp.rb, line 375 def self.run(host,port,&b) me=MClientAgent.new MClient.run_continious(host,port,10_000) do |so| so.extend(SocketMessage) me.instance_eval { b.call(so) } end end