Problem with socket.io

Hello,

II would like to use socket.io to create a small multiplayer game.
To try this lib, I try to install a Shared-canvas script found on the Coding Train site (tuto about websocket). It works well on a local server but not on a "external"server.

Would anyone ever experience socket.io other than on a local server?
I badly need help :grimacing:

The problem seems to be come from CORS.
Is anyone know how to deal with it ?

Thanks, but the problem is not with the image but with the data coming from a client, go to the server and then to the client two (and vice versa)

Never dealt w/ server-side programming yet. :persevere:
But if you control the server, you should be able to set it up CORS-free. :free:

1 Like