module ZabbixReceiver::Server
Attributes
sock[R]
Public Instance Methods
before_run()
click to toggle source
# File lib/zabbix_receiver/server.rb, line 5 def before_run bind = config[:bind] port = config[:port] logger.info "Listening on #{bind}:#{port}..." @sock = TCPServer.open(bind, port) end