sample/bin/cui_chat_client.rb in sinatra-websocketio-0.2.7 vs sample/bin/cui_chat_client.rb in sinatra-websocketio-0.2.8
- old
+ new
@@ -5,10 +5,10 @@
require 'eventmachine'
require 'sinatra/websocketio/client'
name = `whoami`.strip || 'shokai'
-client = Sinatra::WebSocketIO::Client.new('ws://localhost:8080').connect
+client = Sinatra::WebSocketIO::Client.new('ws://localhost:9000').connect
client.on :connect do |session|
puts "connect!! (session_id:#{session})"
end