mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 21:32:35 +00:00
Added Logger, added TACNET test server, networking now seems to work(heartbeats are sent and received)
This commit is contained in:
@@ -12,10 +12,9 @@ module TAC
|
||||
end
|
||||
|
||||
def connect(hostname = DEFAULT_HOSTNAME, port = DEFAULT_PORT, error_callback = proc {})
|
||||
return if @connection && @connect.connected?
|
||||
return if @connection && @connection.connected?
|
||||
|
||||
@connection = Connection.new(hostname, port)
|
||||
puts "Connecting..."
|
||||
@connection.connect(error_callback)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user