Skip to content

Commit

Permalink
Port 8699... aka 'missed it by that much'
Browse files Browse the repository at this point in the history
  • Loading branch information
deadprogram committed Jul 21, 2013
1 parent f46510b commit 534b6f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module KidsRuby
VERSION = "1.3"
VERSION = "1.3.5"
end
4 changes: 2 additions & 2 deletions app/widgets/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
class KidsRubyServer < Qt::TcpServer
slots 'connection()'

# Initialize the server and put into listen mode (port is 8083)
# Initialize the server and put into listen mode (port is 8699)
def initialize(parent = nil, turtle = nil)
super(parent)
@parent = parent
@turtle = turtle

listen(Qt::HostAddress.new(Qt::HostAddress::LocalHost), 8083)
listen(Qt::HostAddress.new(Qt::HostAddress::LocalHost), 8699)
connect(self, SIGNAL('newConnection()'), SLOT('connection()'));
end

Expand Down
2 changes: 1 addition & 1 deletion lib/kidsruby/interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def path
end

def call(method, param = nil)
loc = "http://127.0.0.1:8086#{path}#{method}"
loc = "http://127.0.0.1:8699#{path}#{method}"
loc = loc + "?#{URI.escape(param)}" if param
uri = URI.parse(loc)
Reply.new(Net::HTTP.get_response(uri))
Expand Down

0 comments on commit 534b6f7

Please sign in to comment.