rubyではなくNodeのSocket.io上にlindaを実装しようと思っていて、そのために socketio clientをグループに分けるroom機能について知りたい socketioを拡張するnpmをどうやって実装するのがいいのか調べる 必要があったので、chatを作った。 このようにshebangごとに部屋が別れる。 http://socketio-chat-study.herokuapp.com/#room1 http://socketio-chat-study.herokuapp.com/#shokai 最近websocketがherokuで使えるようになったのでherokuに置いた。 ソースコード https://github.com/shokai/socketio-chat-study 実装 サーバーもクライアントも40行ぐらいでできた。express等WAFは使っていな