Permalink
Browse files

Fixing a bug of debug output.

Moving sample server/client implementation to samples directory.
  • Loading branch information...
1 parent 2621fc6 commit 1cae24a06a008a17ce22361da99873571d5e94c8 Hiroshi Ichikawa committed Nov 28, 2009
Showing with 428 additions and 382 deletions.
  1. +2 −2 README.txt
  2. +328 −328 lib/web_socket.rb
  3. +53 −52 samples/chat_server.rb
  4. +27 −0 samples/echo_server.rb
  5. +18 −0 samples/stdio_client.rb
View
@@ -1,10 +1,10 @@
* How to run sample
- Run sample Web Socket server (echo server) with:
- $ ruby web_socket.rb server ws://localhost:10081
+ $ ruby samples/echo_server.rb ws://localhost:10081
- Run sample Web Socket client and type something:
- $ ruby web_socket.rb client ws://localhost:10081
+ $ ruby samples/stdio_client.rb ws://localhost:10081
Ready
hoge
Sent: "hoge"
Oops, something went wrong.

0 comments on commit 1cae24a

Please sign in to comment.