floatinghotpot / socket.io-unity

socket.io client for Unity, power game client with node.js back-end
494 stars 76 forks source link

Is it possible to connect to a remote server from a local client #16

Closed georgebutter closed 6 years ago

georgebutter commented 6 years ago

I don't want to host the game in the same place the server is hosted.

Can sockets be connected to from a different origin?

I have read that they have a same origin policy but is there a work around for this?

dpaikin commented 6 years ago

They can be connected from a different origin seamlessly I believe.

georgebutter commented 6 years ago

Yes I managed to get this working, thank you :+1: