How can I connect my index.php file to my server.js that contains socket.io.
So if I would do:
io.on("connection", function(socket){
console.log("Connected");
})
What do I have to write in the PHP file and server.js file to let them know that they are communicating with eachother.¨
Many thanks.
via Insanik
No comments:
Post a Comment