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.