So I've been looking at socket.IO and I've stumbled upon some problems. I'm trying to create a WebSocket based chat but It seems that I can't find how I would go about creating a chat where the client is hosted on a different server than the socket.io server. I have a PHP based client that needs to connect to the server but I basically want to know how I can connect to a external socket.IO websocket server.
I would follow this really great tutorial to start with.
At this line of code:
033 socket = io.connect("http://localhost:3000");
Replace with your server address.