Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Javascript 的初学者,想知道使用 JS 和 websockets 连接客户端和服务器端的程序和起始代码。
试试socket.io:http://socket.io/#how-to-use 如果你在服务器端有nodejs,那就更简单了