I have node.js and socket.io on server A and lamp on server B. Server B is the website that runs everything that my sites need except I want server A to take care of the chat feature I have on server B.
I'm kinda new to node.js and socket.io, But got the hang of sending and receiving messages on server A with a simple index.html.
My question is... what's the best way or how do you send and receive messages from server B to A and back? so I can keep everything I already wrote on server B and just use server A to serve as the chat server for all the messages?
Thanks.