node.js socket.io simple chat

前端 未结 3 800
悲&欢浪女
悲&欢浪女 2020-12-09 06:04

I\'m starting playing with node.js and as everybody, I want do a chat.

My idea is run node.js with socket.io in the port 9090, for example, and my client html in the

3条回答
  •  北海茫月
    2020-12-09 06:57

    When I updated my client to:

    
    
        
            
        
            
        
        
              
            
     

    Everything worked.

    I was using a version 0.7 of the socket.io that was the problem: https://github.com/LearnBoost/Socket.IO/wiki/Migrating-0.6-to-0.7

提交回复
热议问题