Socket.io和WebSockets#11-加入會議室並將事件發送到會議室



嗨,在這個視頻中,我們將編寫代碼以將用戶加入不同的房間,發出消息,鍵入和stopd_typing事件。

請點贊並訂閱我的頻道以獲取更多視頻。

Socket.io測試工具:http://socketserve.io

源代碼:https://github.com/iaz33m/Socket.io-v2-Chat-App

Socket.io文件:https://socket.io/get-started/chat

其他有用的鏈接

網站:https://radixcode.com

面子書頁面:https://www.facebook.com/radixcode

Facebook組:https://www.facebook.com/groups/radixcode

Google Plus頁面:https://plus.google.com/u/0/b/112222427997158950852/

Twitter:https://twitter.com/radixcode。

7 comments
  1. i want create a lobby room and select 2 clients and send them to a private room. i dont know how to select a socket from connected list. i can get id number or any other objects i already saved before but can not implement socket.join

  2. Hi I tried running your code from git hub and I can't seem to reach a page like @1:05… Could you please give me some insight? Another question I have it, I don't see the adding room functionality for Client side anywhere in your source code…

Comments are closed.