module Gamefic

Public Instance Methods

start_tcpsocket(host:, port: EventMachine.start_server host, port, Adapter::Tcp do |conn| conn.plot = plot) click to toggle source
# File lib/gamefic-mud/engine.rb, line 118
def start_tcpsocket host:, port:
  EventMachine.start_server host, port, Adapter::Tcp do |conn|
    conn.plot = plot
    conn.start @start
    @connections.push conn
  end