使用Wamp-server

时间:2018-05-25 13:48:37

标签: javascript socket.io wampserver

我是websocket的新手,我安装了WampServer(我在端口81上使用它)将它用于我的localhost托管并从Phaser.js运行一些代码。现在,我想制作一个多人游戏,我尝试使用Socket.io,但是如果我使用81用于WampServer,我需要使用哪个端口?

1 个答案:

答案 0 :(得分:0)

https://github.com/axios/axios#handling-errors可以使用任何端口,这里是示例代码:

<animateTransform xmlns="http://www.w3.org/2000/svg"
    attributeName="transform" type="scale" additive="sum"
    begin="mouseenter" dur="1"
    values="1;1.2;1" keyTimes="0;0.5;1 />

使用带有socket.io的wamp服务器检查Socket.io