using socket.io with cordova and IOS device

前端 未结 2 2019
無奈伤痛
無奈伤痛 2021-01-01 04:46

I\'m trying to use this simple tutorial:

http://socket.io/socket-io-with-apache-cordova/

My node.js is working fine and i\'m emulating to i

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-01 05:21

    
    var socketHost = "http://localhost:3000";
    var socket = io.connect(socketHost);
    

提交回复
热议问题